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