wok-next view opencv/receipt @ rev 20558
openmotif: fix syntax error in receipt
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 07 16:14:50 2018 +0300 (2018-04-07) |
parents | d43bf7aae921 |
children | b1a1deb20f42 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="opencv"
4 VERSION="3.3.0"
5 CATEGORY="development"
6 SHORT_DESC="Open source computer vision library"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://opencv.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/Itseez/opencv/archive/$VERSION.tar.gz"
14 BUILD_DEPENDS="cmake gtk+-dev ffmpeg-dev libjpeg-turbo-dev tiff-dev \
15 libpng16-dev"
16 SPLIT="opencv opencv-dev"
18 compile_rules() {
19 fix math
20 mkdir build
21 cd build
22 cmake \
23 -DCMAKE_INSTALL_PREFIX=/usr \
24 .. &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 opencv)
32 copy @std
33 DEPENDS="gtk+ ffmpeg jpeg tiff libpng16"
34 ;;
35 opencv-dev)
36 copy @dev
37 ;;
38 esac
39 }