wok diff openexr/receipt @ rev 23933

dar: inserted libdir=/lib
author Hans-G?nter Theisgen
date Mon Sep 07 13:19:26 2020 +0100 (2020-09-07)
parents 46bdefb69ece
children 848e2021d813
line diff
     1.1 --- a/openexr/receipt	Thu Nov 28 08:57:35 2019 +0100
     1.2 +++ b/openexr/receipt	Mon Sep 07 13:19:26 2020 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="openexr"
     1.7 -VERSION="2.3.0"
     1.8 +VERSION="2.4.1"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="Openexr library for EXR images."
    1.11  MAINTAINER="slaxemulator@gmail.com"
    1.12 @@ -9,19 +9,21 @@
    1.13  WEB_SITE="https://www.openexr.com/"
    1.14  
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -#WGET_URL="http://savannah.nongnu.org/download/$PACKAGE/$TARBALL"
    1.17 -WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
    1.18 +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION/$TARBALL"
    1.19  
    1.20  DEPENDS="gcc83-lib-base ilmbase zlib"
    1.21 -BUILD_DEPENDS="gcc83 ilmbase-dev zlib-dev"
    1.22 +BUILD_DEPENDS="cmake gcc83 ilmbase-dev zlib-dev"
    1.23  
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27 -	./configure		\
    1.28 -		CC=gcc-83	\
    1.29 -		CXX=g++-83	\
    1.30 -		$CONFIGURE_ARGS &&
    1.31 +	export	CC=gcc-83
    1.32 +	export	CXX=g++-83
    1.33 +
    1.34 +	mkdir	build &&
    1.35 +	cd	build &&
    1.36 +	cmake	..			\
    1.37 +		-DCMAKE_INSTALL_PREFIX=/usr &&
    1.38  	make &&
    1.39  	make install
    1.40  }