updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / python2-yarp / PKGBUILD
blob91b9c01f51af71ebbbe7145ca6bbe542fdd6bf54
1 # Contributor: Victor Noël
3 _realpkgname=yarp
4 pkgname=python2-$_realpkgname
5 pkgver=2.3.14
6 pkgrel=1
7 pkgdesc="Yet Another Robot Platform"
8 url="http://eris.liralab.it/yarp/"
9 license=('GPL')
10 arch=('i686' 'x86_64')
11 makedepends=('cmake' 'swig')
12 depends=('yarp' 'python2' 'gcc-libs')
13 options=(!libtool)
14 source=(http://downloads.sourceforge.net/yarp0/$_realpkgname-$pkgver.tar.gz)
16 build() {
17   cd $srcdir
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
24   make
27 package() {
28   cd $srcdir/build-$pkgname-$pkgver
30   make DESTDIR=$pkgdir install
33 md5sums=('4ee659e31abe915e3453062f994aabd7')