wok-next view opencv/receipt @ rev 19211
Up python-mako (1.0.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 14 09:54:21 2016 +0200 (2016-06-14) |
parents | a4c10aa3ed2d |
children | 6135ee35de3e |
line source
1 # SliTaz package receipt.
3 PACKAGE="opencv"
4 VERSION="3.1.0"
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="http://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"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cmake . -DCMAKE_INSTALL_PREFIX=/usr &&
20 make &&
21 make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $install/usr/bin $fs/usr
29 cp -a $install/usr/share $fs/usr
30 cp -a $install/usr/lib/*.so* $fs/usr/lib
31 }