wok-6.x annotate opencv/receipt @ rev 20838
updated discount and discount-dev (2.1.8 -> 2.2.5)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 20 14:50:21 2019 +0100 (2019-02-20) |
parents | 22980cdd8a20 |
children | 3226cca667d3 |
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@20669 | 10 WEB_SITE="https://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@20590 | 14 BUILD_DEPENDS="wget cmake gtk+-dev ffmpeg-dev jpeg-dev tiff-dev libpng-dev \ |
pascal@20590 | 15 libgnutls" |
pascal@18788 | 16 |
pascal@18788 | 17 # Rules to configure and make the package. |
pascal@18788 | 18 compile_rules() |
pascal@18788 | 19 { |
pascal@18788 | 20 cmake . -DCMAKE_INSTALL_PREFIX=/usr && |
pascal@18788 | 21 make && |
pascal@18788 | 22 make DESTDIR=$DESTDIR install |
pascal@18788 | 23 } |
pascal@18788 | 24 |
pascal@18788 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18788 | 26 genpkg_rules() |
pascal@18788 | 27 { |
pascal@18788 | 28 mkdir -p $fs/usr/lib |
pascal@18788 | 29 cp -a $install/usr/bin $fs/usr |
pascal@18788 | 30 cp -a $install/usr/share $fs/usr |
pascal@18788 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@18788 | 32 } |