1 # Contributor: Victor Noël
4 pkgname=python2-$_realpkgname
7 pkgdesc="Yet Another Robot Platform"
8 url="http://eris.liralab.it/yarp/"
10 arch=('i686' 'x86_64')
11 makedepends=('cmake' 'swig')
12 depends=('yarp' 'python2' 'gcc-libs')
14 source=(http://downloads.sourceforge.net/yarp0/$_realpkgname-$pkgver.tar.gz)
19 rm -rf build-$pkgname-$pkgver
20 mkdir build-$pkgname-$pkgver
21 cd build-$pkgname-$pkgver
23 cmake ../$_realpkgname-$pkgver/example/swig/ -DPYTHON_EXECUTABLE=/usr/bin/python2 -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so -DCMAKE_INSTALL_PREFIX=/usr -DCREATE_PYTHON=TRUE
28 cd $srcdir/build-$pkgname-$pkgver
30 make DESTDIR=$pkgdir install
33 md5sums=('4ee659e31abe915e3453062f994aabd7')