summaryrefslogtreecommitdiffstats
path: root/extra/opencv/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2011-03-24 21:55:23 +0100
committertnut <thierryn1 at hispeed dot ch>2011-03-24 21:55:23 +0100
commit5636efec47c5eae85187e475bc16e6d20d3827ce (patch)
tree8799a543df848f152764a8512d4ee5c2943b8e73 /extra/opencv/Pkgfile
parent4100bd8f14b0119ea7dc12990dd5aec3665cab8d (diff)
downloadnutyx-extra-5636efec47c5eae85187e475bc16e6d20d3827ce.tar.gz
nutyx-extra-5636efec47c5eae85187e475bc16e6d20d3827ce.tar.bz2
nutyx-extra-5636efec47c5eae85187e475bc16e6d20d3827ce.tar.xz
nutyx-extra-5636efec47c5eae85187e475bc16e6d20d3827ce.zip
opencv, dans ouvert
Diffstat (limited to 'extra/opencv/Pkgfile')
-rw-r--r--extra/opencv/Pkgfile33
1 files changed, 0 insertions, 33 deletions
diff --git a/extra/opencv/Pkgfile b/extra/opencv/Pkgfile
deleted file mode 100644
index 20eb75903..000000000
--- a/extra/opencv/Pkgfile
+++ /dev/null
@@ -1,33 +0,0 @@
-# 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, libdc1394, v4l-utils
-# Run on: libjpeg,libtiff,jasper,libpng,ffmpeg,gstreamer,xine-lib,libdc1394,v4l-utils
-
-name=opencv
-version=2.2.0
-release=3
-_pybin=python2
-_pydir=python2.7
-
-source=(http://downloads.sourceforge.net/opencvlibrary/OpenCV-$version.tar.bz2 )
-
-build() {
- cd OpenCV-$version
- 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
-
- install -Dm644 $SRC/OpenCV-$version/doc/license.txt \
- $PKG/usr/share/licenses/$name/LICENSE
-}
-
-