wok-next annotate opencv/receipt @ rev 20514
ardour, gdal, icu, js, jsoncpp, libvpx, llvm, mesa, minetest, opencv, qt5, scilab, webkit2gtk, webkitgtk, xalan-c: remove std.patch, use `fix math`.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Mar 21 16:15:19 2018 +0200 (2018-03-21) |
parents | d43bf7aae921 |
children | b1a1deb20f42 |
rev | line source |
---|---|
pascal@20025 | 1 # SliTaz package receipt v2. |
pascal@18788 | 2 |
pascal@18788 | 3 PACKAGE="opencv" |
pascal@20025 | 4 VERSION="3.3.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" |
al@20514 | 9 WEB_SITE="http://opencv.org/" |
al@20514 | 10 |
pascal@18788 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@18788 | 12 WGET_URL="https://github.com/Itseez/opencv/archive/$VERSION.tar.gz" |
pascal@18788 | 13 |
al@20514 | 14 BUILD_DEPENDS="cmake gtk+-dev ffmpeg-dev libjpeg-turbo-dev tiff-dev \ |
al@20514 | 15 libpng16-dev" |
pascal@20025 | 16 SPLIT="opencv opencv-dev" |
pascal@18788 | 17 |
al@20514 | 18 compile_rules() { |
al@20514 | 19 fix math |
al@20514 | 20 mkdir build |
al@20514 | 21 cd build |
al@20514 | 22 cmake \ |
al@20514 | 23 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@20514 | 24 .. && |
pascal@18788 | 25 make && |
pascal@18788 | 26 make DESTDIR=$DESTDIR install |
pascal@18788 | 27 } |
pascal@18788 | 28 |
al@20514 | 29 genpkg_rules() { |
pascal@20025 | 30 case $PACKAGE in |
al@20514 | 31 opencv) |
al@20514 | 32 copy @std |
al@20514 | 33 DEPENDS="gtk+ ffmpeg jpeg tiff libpng16" |
al@20514 | 34 ;; |
al@20514 | 35 opencv-dev) |
al@20514 | 36 copy @dev |
al@20514 | 37 ;; |
pascal@20025 | 38 esac |
pascal@18788 | 39 } |