wok-6.x annotate opencv/receipt @ rev 21617
updated opencv and opencv-dev (3.4.6 -> 4.1.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 24 18:01:06 2019 +0100 (2019-05-24) |
parents | 5d97883e7e44 |
children | 1e0e339f9dcc |
rev | line source |
---|---|
pascal@18788 | 1 # SliTaz package receipt. |
pascal@18788 | 2 |
pascal@18788 | 3 PACKAGE="opencv" |
Hans-G?nter@21617 | 4 VERSION="4.1.0" |
pascal@18788 | 5 CATEGORY="development" |
Hans-G?nter@21617 | 6 SHORT_DESC="Open source computer vision library." |
pascal@18788 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18788 | 8 LICENSE="BSD" |
Hans-G?nter@21617 | 9 WEB_SITE="https://opencv.org/" |
Hans-G?nter@21617 | 10 |
pascal@18788 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21617 | 12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/$VERSION/$TARBALL" |
pascal@18788 | 13 |
Hans-G?nter@21617 | 14 DEPENDS="ffmpeg gtk+ jpeg libpng tiff" |
Hans-G?nter@21617 | 15 BUILD_DEPENDS="cmake ffmpeg-dev gcc83 gtk+-dev jpeg-dev libgnutls \ |
Hans-G?nter@21617 | 16 libpng-dev tiff-dev" |
pascal@18788 | 17 |
pascal@18788 | 18 # Rules to configure and make the package. |
pascal@18788 | 19 compile_rules() |
pascal@18788 | 20 { |
Hans-G?nter@21617 | 21 export CC=gcc-83 |
Hans-G?nter@21617 | 22 export CXX=g++-83 |
Hans-G?nter@21617 | 23 |
Hans-G?nter@21617 | 24 mkdir build |
Hans-G?nter@21617 | 25 cd build |
maniac@21616 | 26 cmake .. -DCMAKE_INSTALL_PREFIX=/usr && |
pascal@18788 | 27 make && |
pascal@18788 | 28 make DESTDIR=$DESTDIR install |
pascal@18788 | 29 } |
pascal@18788 | 30 |
pascal@18788 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18788 | 32 genpkg_rules() |
pascal@18788 | 33 { |
pascal@18788 | 34 mkdir -p $fs/usr/lib |
Hans-G?nter@21617 | 35 |
Hans-G?nter@21617 | 36 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21617 | 37 cp -a $install/usr/share $fs/usr |
Hans-G?nter@21617 | 38 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@18788 | 39 } |