wok-current annotate opencv/receipt @ rev 19943
Up tazlito (453)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 06 08:28:45 2017 +0200 (2017-05-06) |
parents | a4c10aa3ed2d |
children | 22980cdd8a20 |
rev | line source |
---|---|
pascal@18788 | 1 # SliTaz package receipt. |
pascal@18788 | 2 |
pascal@18788 | 3 PACKAGE="opencv" |
pascal@18788 | 4 VERSION="3.1.0" |
pascal@18788 | 5 CATEGORY="development" |
pascal@18788 | 6 SHORT_DESC="Open source computer vision library" |
pascal@18788 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18788 | 8 LICENSE="BSD" |
pascal@18788 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@18788 | 10 WEB_SITE="http://opencv.org/" |
pascal@18788 | 11 WGET_URL="https://github.com/Itseez/opencv/archive/$VERSION.tar.gz" |
pascal@18788 | 12 |
pascal@18789 | 13 DEPENDS="gtk+ ffmpeg jpeg tiff libpng" |
pascal@18789 | 14 BUILD_DEPENDS="wget cmake gtk+-dev ffmpeg-dev jpeg-dev tiff-dev libpng-dev" |
pascal@18788 | 15 |
pascal@18788 | 16 # Rules to configure and make the package. |
pascal@18788 | 17 compile_rules() |
pascal@18788 | 18 { |
pascal@18788 | 19 cmake . -DCMAKE_INSTALL_PREFIX=/usr && |
pascal@18788 | 20 make && |
pascal@18788 | 21 make DESTDIR=$DESTDIR install |
pascal@18788 | 22 } |
pascal@18788 | 23 |
pascal@18788 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18788 | 25 genpkg_rules() |
pascal@18788 | 26 { |
pascal@18788 | 27 mkdir -p $fs/usr/lib |
pascal@18788 | 28 cp -a $install/usr/bin $fs/usr |
pascal@18788 | 29 cp -a $install/usr/share $fs/usr |
pascal@18788 | 30 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@18788 | 31 } |