wok-next diff openjpeg/receipt @ 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 | 16b97ec782a4 |
children | 159a8b382826 |
line diff
1.1 --- a/openjpeg/receipt Tue Mar 13 13:21:44 2012 +0100 1.2 +++ b/openjpeg/receipt Thu Apr 19 07:16:01 2012 +0000 1.3 @@ -1,28 +1,29 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="openjpeg" 1.7 -VERSION="1.4" 1.8 +VERSION="1.5.0" 1.9 CATEGORY="development" 1.10 SHORT_DESC="An open source JPEG 2000 codec" 1.11 MAINTAINER="slaxemulator@gmail.com" 1.12 -DEPENDS="glibc-base" 1.13 -_VERSION=v1_4 1.14 -TARBALL="${PACKAGE}_${_VERSION}_sources_r697.tgz" 1.15 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 WEB_SITE="http://www.openjpeg.org/" 1.17 WGET_URL="http://openjpeg.googlecode.com/files/$TARBALL" 1.18 1.19 -BUILD_DEPENDS="coreutils-directory" 1.20 +DEPENDS="glibc-base zlib tiff" 1.21 +BUILD_DEPENDS="zlib-dev tiff-dev coreutils-directory" 1.22 1.23 # Rules to configure and make the package. 1.24 compile_rules() 1.25 { 1.26 cd $src 1.27 + # make sure we use system libs 1.28 + [ -d thirtparty ] && rm -rf thirtparty 1.29 ./configure --enable-lcms2=no \ 1.30 --enable-png=no \ 1.31 --enable-lcms1=no \ 1.32 --disable-static \ 1.33 $CONFIGURE_ARGS && 1.34 - make && make DESTDIR=$PWD/_pkg install 1.35 + make && make DESTDIR=$DESTDIR install 1.36 } 1.37 1.38 # Rules to gen a SliTaz package suitable for Tazpkg.