wok rev 23264

updated openexr and openexr-dev (2.3.0 -> 2.4.1)
author Hans-G?nter Theisgen
date Fri Mar 27 10:29:56 2020 +0100 (2020-03-27)
parents 2c5c15f050b7
children 6c6bce6aa9f9
files openexr-dev/receipt openexr/receipt
line diff
     1.1 --- a/openexr-dev/receipt	Fri Mar 27 07:16:46 2020 +0100
     1.2 +++ b/openexr-dev/receipt	Fri Mar 27 10:29:56 2020 +0100
     1.3 @@ -1,24 +1,26 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="openexr-dev"
     1.7 -VERSION="2.3.0"
     1.8 +VERSION="2.4.1"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Development files for openexr."
    1.11  MAINTAINER="slaxemulator@gmail.com"
    1.12  LICENSE="BSD"
    1.13  WEB_SITE="https://www.openexr.com/"
    1.14  
    1.15 -DEPENDS="ilmbase-dev openexr gcc83 pkg-config"
    1.16 +DEPENDS="gcc83 ilmbase-dev openexr pkg-config"
    1.17  WANTED="openexr"
    1.18  
    1.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.20  genpkg_rules()
    1.21  {
    1.22  	mkdir -p $fs/usr/lib
    1.23 -	mkdir -p $fs/usr/share
    1.24 +#	mkdir -p $fs/usr/share
    1.25  
    1.26  	cp -a $install/usr/include		$fs/usr
    1.27  	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.28 -	cp -a $install/usr/lib/*.*a		$fs/usr/lib
    1.29 -	cp -a $install/usr/share/aclocal	$fs/usr/share
    1.30 +
    1.31 +# 2.4.1 no longer supplied:
    1.32 +#	cp -a $install/usr/lib/*.*a		$fs/usr/lib
    1.33 +#	cp -a $install/usr/share/aclocal	$fs/usr/share
    1.34  }
     2.1 --- a/openexr/receipt	Fri Mar 27 07:16:46 2020 +0100
     2.2 +++ b/openexr/receipt	Fri Mar 27 10:29:56 2020 +0100
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="openexr"
     2.7 -VERSION="2.3.0"
     2.8 +VERSION="2.4.1"
     2.9  CATEGORY="x-window"
    2.10  SHORT_DESC="Openexr library for EXR images."
    2.11  MAINTAINER="slaxemulator@gmail.com"
    2.12 @@ -9,19 +9,21 @@
    2.13  WEB_SITE="https://www.openexr.com/"
    2.14  
    2.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.16 -#WGET_URL="http://savannah.nongnu.org/download/$PACKAGE/$TARBALL"
    2.17 -WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
    2.18 +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION/$TARBALL"
    2.19  
    2.20  DEPENDS="gcc83-lib-base ilmbase zlib"
    2.21 -BUILD_DEPENDS="gcc83 ilmbase-dev zlib-dev"
    2.22 +BUILD_DEPENDS="cmake gcc83 ilmbase-dev zlib-dev"
    2.23  
    2.24  # Rules to configure and make the package.
    2.25  compile_rules()
    2.26  {
    2.27 -	./configure		\
    2.28 -		CC=gcc-83	\
    2.29 -		CXX=g++-83	\
    2.30 -		$CONFIGURE_ARGS &&
    2.31 +	export	CC=gcc-83
    2.32 +	export	CXX=g++-83
    2.33 +
    2.34 +	mkdir	build &&
    2.35 +	cd	build &&
    2.36 +	cmake	..			\
    2.37 +		-DCMAKE_INSTALL_PREFIX=/usr &&
    2.38  	make &&
    2.39  	make install
    2.40  }