wok diff opencv/receipt @ rev 21699

updated potamus (15 -> 17)
author Hans-G?nter Theisgen
date Wed Jun 05 17:53:51 2019 +0100 (2019-06-05)
parents 5d97883e7e44
children 1e0e339f9dcc
line diff
     1.1 --- a/opencv/receipt	Thu May 23 22:39:27 2019 +0300
     1.2 +++ b/opencv/receipt	Wed Jun 05 17:53:51 2019 +0100
     1.3 @@ -1,23 +1,28 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="opencv"
     1.7 -VERSION="3.4.6"
     1.8 +VERSION="4.1.0"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Open source computer vision library"
    1.11 +SHORT_DESC="Open source computer vision library."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="BSD"
    1.14 +WEB_SITE="https://opencv.org/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="https://opencv.org/"
    1.18 -WGET_URL="https://github.com/Itseez/opencv/archive/$VERSION.tar.gz"
    1.19 +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/$VERSION/$TARBALL"
    1.20  
    1.21 -DEPENDS="gtk+ ffmpeg jpeg tiff libpng"
    1.22 -BUILD_DEPENDS="wget cmake gtk+-dev ffmpeg-dev jpeg-dev tiff-dev libpng-dev \
    1.23 -libgnutls"
    1.24 +DEPENDS="ffmpeg gtk+ jpeg libpng tiff"
    1.25 +BUILD_DEPENDS="cmake ffmpeg-dev gcc83 gtk+-dev jpeg-dev libgnutls \
    1.26 +	libpng-dev tiff-dev"
    1.27  
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 -	mkdir build; cd build 
    1.32 +	export	CC=gcc-83
    1.33 +	export	CXX=g++-83
    1.34 +
    1.35 +	mkdir build
    1.36 +	cd build 
    1.37  	cmake .. -DCMAKE_INSTALL_PREFIX=/usr &&
    1.38  	make &&
    1.39  	make DESTDIR=$DESTDIR install
    1.40 @@ -27,7 +32,8 @@
    1.41  genpkg_rules()
    1.42  {
    1.43  	mkdir -p $fs/usr/lib
    1.44 -	cp -a $install/usr/bin $fs/usr
    1.45 -	cp -a $install/usr/share $fs/usr
    1.46 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.47 +
    1.48 +	cp -a $install/usr/bin		$fs/usr
    1.49 +	cp -a $install/usr/share	$fs/usr
    1.50 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    1.51  }