Skip to content

@hauptmech /PKGBUILD
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
PKGBUILD for Yarp 2.3.15 on GCC 4.7
# Contributor: Victor Noël
pkgname=yarp
pkgver=2.3.15
pkgrel=5
pkgdesc="Yet Another Robot Platform"
url="http://eris.liralab.it/yarp/"
license=('GPL')
arch=('any')
makedepends=('cmake')
depends=()
options=(!libtool)
source=(http://downloads.sourceforge.net/yarp0/$pkgname-$pkgver.tar.gz)
build() {
cd $srcdir
cd $pkgname-$pkgver
if [ ! -d ace4yarp ]; then
./scripts/fetch-ace.sh
fi
cd $srcdir
rm -rf build-$pkgname-$pkgver
mkdir build-$pkgname-$pkgver
cd build-$pkgname-$pkgver
sed -i ../$pkgname-$pkgver/src/yarpmanager/libymanager/src/localbroker.cpp -f - <<'==='
/<stdlib.h>/ a \
#include <unistd.h>
===
cmake ../$pkgname-$pkgver -DCMAKE_INSTALL_PREFIX=/usr/local -DCREATE_SHARED_LIBRARY=TRUE -DCMAKE_BUILD_TYPE=RelWithDebInfo
make
}
package() {
cd $srcdir/build-$pkgname-$pkgver
make DESTDIR=$pkgdir install
}
md5sums=('58912d7d1a6ed3347fc15ef7236899e1')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.