wok-6.x annotate opencv/receipt @ rev 19192

syslinux: no i18n menu with custom config
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 05 16:28:03 2016 +0200 (2016-06-05)
parents a4c10aa3ed2d
children 22980cdd8a20
rev   line source
pascal@18788 1 # SliTaz package receipt.
pascal@18788 2
pascal@18788 3 PACKAGE="opencv"
pascal@18788 4 VERSION="3.1.0"
pascal@18788 5 CATEGORY="development"
pascal@18788 6 SHORT_DESC="Open source computer vision library"
pascal@18788 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@18788 8 LICENSE="BSD"
pascal@18788 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@18788 10 WEB_SITE="http://opencv.org/"
pascal@18788 11 WGET_URL="https://github.com/Itseez/opencv/archive/$VERSION.tar.gz"
pascal@18788 12
pascal@18789 13 DEPENDS="gtk+ ffmpeg jpeg tiff libpng"
pascal@18789 14 BUILD_DEPENDS="wget cmake gtk+-dev ffmpeg-dev jpeg-dev tiff-dev libpng-dev"
pascal@18788 15
pascal@18788 16 # Rules to configure and make the package.
pascal@18788 17 compile_rules()
pascal@18788 18 {
pascal@18788 19 cmake . -DCMAKE_INSTALL_PREFIX=/usr &&
pascal@18788 20 make &&
pascal@18788 21 make DESTDIR=$DESTDIR install
pascal@18788 22 }
pascal@18788 23
pascal@18788 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18788 25 genpkg_rules()
pascal@18788 26 {
pascal@18788 27 mkdir -p $fs/usr/lib
pascal@18788 28 cp -a $install/usr/bin $fs/usr
pascal@18788 29 cp -a $install/usr/share $fs/usr
pascal@18788 30 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@18788 31 }