wok-next rev 12315

Up: openjpeg to 1.5.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Apr 19 07:16:01 2012 +0000 (2012-04-19)
parents 3fa620c3d272
children df36976870fe
files openjpeg-dev/receipt openjpeg/receipt
line diff
     1.1 --- a/openjpeg-dev/receipt	Thu Apr 19 07:14:32 2012 +0000
     1.2 +++ b/openjpeg-dev/receipt	Thu Apr 19 07:16:01 2012 +0000
     1.3 @@ -1,14 +1,13 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="openjpeg-dev"
     1.7 -VERSION="1.4"
     1.8 +VERSION="1.5.0"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="devel files for openjpeg"
    1.11  MAINTAINER="slaxemulator@gmail.com"
    1.12  DEPENDS="openjpeg"
    1.13  WEB_SITE="http://www.openjpeg.org/"
    1.14  WANTED="openjpeg"
    1.15 -_VERSION=v1_4
    1.16  
    1.17  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.18  genpkg_rules()
     2.1 --- a/openjpeg/receipt	Thu Apr 19 07:14:32 2012 +0000
     2.2 +++ b/openjpeg/receipt	Thu Apr 19 07:16:01 2012 +0000
     2.3 @@ -1,28 +1,29 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="openjpeg"
     2.7 -VERSION="1.4"
     2.8 +VERSION="1.5.0"
     2.9  CATEGORY="development"
    2.10  SHORT_DESC="An open source JPEG 2000 codec"
    2.11  MAINTAINER="slaxemulator@gmail.com"
    2.12 -DEPENDS="glibc-base"
    2.13 -_VERSION=v1_4
    2.14 -TARBALL="${PACKAGE}_${_VERSION}_sources_r697.tgz"
    2.15 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.16  WEB_SITE="http://www.openjpeg.org/"
    2.17  WGET_URL="http://openjpeg.googlecode.com/files/$TARBALL"
    2.18  
    2.19 -BUILD_DEPENDS="coreutils-directory"
    2.20 +DEPENDS="glibc-base zlib tiff"
    2.21 +BUILD_DEPENDS="zlib-dev tiff-dev coreutils-directory"
    2.22  
    2.23  # Rules to configure and make the package.
    2.24  compile_rules()
    2.25  {
    2.26  	cd $src
    2.27 +	# make sure we use system libs
    2.28 +	[ -d thirtparty ] && rm -rf thirtparty
    2.29  	./configure --enable-lcms2=no \
    2.30  		--enable-png=no \
    2.31  		--enable-lcms1=no \
    2.32  		--disable-static \
    2.33  		$CONFIGURE_ARGS &&
    2.34 -	make && make DESTDIR=$PWD/_pkg install
    2.35 +	make && make DESTDIR=$DESTDIR install
    2.36  }
    2.37  
    2.38  # Rules to gen a SliTaz package suitable for Tazpkg.