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

lucene++ : patch
author maniac
date Thu May 23 22:39:27 2019 +0300 (2019-05-23)
parents 3226cca667d3
children 19c807b8986a
rev   line source
pascal@18788 1 # SliTaz package receipt.
pascal@18788 2
pascal@18788 3 PACKAGE="opencv"
maniac@21615 4 VERSION="3.4.6"
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@20669 10 WEB_SITE="https://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@20590 14 BUILD_DEPENDS="wget cmake gtk+-dev ffmpeg-dev jpeg-dev tiff-dev libpng-dev \
pascal@20590 15 libgnutls"
pascal@18788 16
pascal@18788 17 # Rules to configure and make the package.
pascal@18788 18 compile_rules()
pascal@18788 19 {
maniac@21616 20 mkdir build; cd build
maniac@21616 21 cmake .. -DCMAKE_INSTALL_PREFIX=/usr &&
pascal@18788 22 make &&
pascal@18788 23 make DESTDIR=$DESTDIR install
pascal@18788 24 }
pascal@18788 25
pascal@18788 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18788 27 genpkg_rules()
pascal@18788 28 {
pascal@18788 29 mkdir -p $fs/usr/lib
pascal@18788 30 cp -a $install/usr/bin $fs/usr
pascal@18788 31 cp -a $install/usr/share $fs/usr
pascal@18788 32 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@18788 33 }