updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / python2-pyopencv / PKGBUILD
blobc707217c7424ce0ca4ad8f4a92e5ce8f3514eff7
1 # Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
2 pkgname=python2-pyopencv
3 pkgver=2.1.0.wr1.2.0
4 pkgrel=2
5 pkgdesc="Python bindings for OpenCV 2.1"
6 arch=('i686' 'x86_64')
7 url="http://code.google.com/p/pyopencv/"
8 license=('BSD')
9 depends=('python2>=2.5' 'python2-numpy>=1.2' 'opencv-old<2.2' 'boost-libs')
10 makedepends=('python2-distribute' 'gcc' 'boost' 'cmake')
11 options=(!emptydirs)
13 source=(http://pyopencv.googlecode.com/files/pyopencv-$pkgver.tar.gz)
14 md5sums=('77b1fd385aa641a6c398d2abde7d95c8')
16 build() {
17   cd "$srcdir/pyopencv-$pkgver"
19   rm -rf build
20   mkdir build
21   cd build
22   OpenCV_DIR='/opt/opencv-old/share/opencv/' cmake ..
24   make
25   make DESTDIR="$pkgdir" install