summaryrefslogtreecommitdiffstats
path: root/opencv/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
committertnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
commit3f57a7f93b3e7550cbd73036f6a56654e17d1d5c (patch)
tree819b14ab0377fe2054fe59866669d904e9e0b4b5 /opencv/Pkgfile
parentc9972ec7f32bf9d37388e853fe9bf633e242d05a (diff)
downloadnutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.gz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.bz2
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.xz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.zip
split de git pakxe et NuTyX-extra
Diffstat (limited to 'opencv/Pkgfile')
-rw-r--r--opencv/Pkgfile30
1 files changed, 30 insertions, 0 deletions
diff --git a/opencv/Pkgfile b/opencv/Pkgfile
new file mode 100644
index 000000000..b0e2dfb8d
--- /dev/null
+++ b/opencv/Pkgfile
@@ -0,0 +1,30 @@
+# Description: librairie de vision en temps réel
+# URL: http://opencv.willowgarage.com/wiki/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: cmake, libjpeg, libtiff, jasper, libpng, ffmpeg, gstreamer, xine-lib, v4l-utils
+# Run on: libjpeg,libtiff,jasper,libpng,ffmpeg,gstreamer,xine-lib,v4l-utils
+
+name=opencv
+version=2.3.1a
+release=1
+_pybin=python2
+_pydir=python2.7
+
+source=(http://downloads.sourceforge.net/opencvlibrary/OpenCV-$version.tar.bz2 )
+
+build() {
+ cd OpenCV-*
+ cmake . -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DWITH_XINE=ON \
+ -DWITH_UiNICAP=OFF \
+ -DPYTHON_EXECUTABLE=/usr/bin/$_pybin \
+ -DPYTHON_INCLUDE_DIR=/usr/include/$_pydir \
+ -DPYTHON_LIBRARY=/usr/lib/lib$_pydir.so
+ make
+ make DESTDIR=$PKG install
+}
+
+