wok view opencv/receipt @ rev 23606
updated ranger (1.9.2 -> 1.9.3)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 11 17:55:48 2020 +0100 (2020-04-11) |
parents | 1e0e339f9dcc |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="opencv"
4 VERSION="4.2.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 gcc83-lib-base 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
23 export LDFLAGS="$LDFLAGS -latomic"
25 mkdir build &&
26 cd build &&
27 cmake .. \
28 -DCMAKE_INSTALL_PREFIX=/usr \
29 -DENABLE_PRECOMPILED_HEADERS=OFF &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/share $fs/usr
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 }