diff options
author | sibel <lesibel@free.fr> | 2011-01-24 07:31:57 +0100 |
---|---|---|
committer | sibel <lesibel@free.fr> | 2011-01-24 07:31:57 +0100 |
commit | c029f5ac8abf6f871ee4d790207824e033be0b59 (patch) | |
tree | 54856fb183650597b7e1f2b64aec3b1fa9046d98 /extra/opencv/Pkgfile | |
parent | efd76025f43eb719aa9a3dcaa11df56ac482139a (diff) | |
download | nutyx-pakxe-c029f5ac8abf6f871ee4d790207824e033be0b59.tar.gz nutyx-pakxe-c029f5ac8abf6f871ee4d790207824e033be0b59.tar.bz2 nutyx-pakxe-c029f5ac8abf6f871ee4d790207824e033be0b59.tar.xz nutyx-pakxe-c029f5ac8abf6f871ee4d790207824e033be0b59.zip |
opencv, nettoyage port
Diffstat (limited to 'extra/opencv/Pkgfile')
-rw-r--r-- | extra/opencv/Pkgfile | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/extra/opencv/Pkgfile b/extra/opencv/Pkgfile index dfca093af..7061b8104 100644 --- a/extra/opencv/Pkgfile +++ b/extra/opencv/Pkgfile @@ -7,21 +7,15 @@ name=opencv version=2.2.0 -release=1 +release=2 _pybin=python2 _pydir=python2.7 -source=(http://downloads.sourceforge.net/opencvlibrary/OpenCV-$version.tar.bz2 \ - http://nutyx.meticul.eu/files/patchs/$name/libpng-1.4.patch) +source=(http://downloads.sourceforge.net/opencvlibrary/OpenCV-$version.tar.bz2 ) build() { cd OpenCV-$version -# patch -p1 -i $SRC/libpng-1.4.patch - cd $SRC - mkdir build - cd build - PYTHON=/usr/bin/python2 cmake ../OpenCV-$version \ - -DCMAKE_BUILD_TYPE=Release \ + cmake . -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_SKIP_RPATH=ON \ -DWITH_XINE=ON \ @@ -31,6 +25,9 @@ build() { -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 } |