wok-6.x view opencv/receipt @ rev 21615
Up opencv (3.4.6)
author | maniac |
---|---|
date | Thu May 23 22:07:21 2019 +0300 (2019-05-23) |
parents | a78610b2eb47 |
children | 5d97883e7e44 |
line source
1 # SliTaz package receipt.
3 PACKAGE="opencv"
4 VERSION="3.4.6"
5 CATEGORY="development"
6 SHORT_DESC="Open source computer vision library"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://opencv.org/"
11 WGET_URL="https://github.com/Itseez/opencv/archive/$VERSION.tar.gz"
13 DEPENDS="gtk+ ffmpeg jpeg tiff libpng"
14 BUILD_DEPENDS="wget cmake gtk+-dev ffmpeg-dev jpeg-dev tiff-dev libpng-dev \
15 libgnutls"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cmake . -DCMAKE_INSTALL_PREFIX=/usr &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/share $fs/usr
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 }