wok-current rev 8600

Up: openjpeg to 1.4.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Feb 13 23:47:43 2011 +0000 (2011-02-13)
parents b3a4d3cb8228
children 9f33efb7cb29
files openjpeg-dev/receipt openjpeg/receipt
line diff
     1.1 --- a/openjpeg-dev/receipt	Mon Feb 14 05:47:23 2011 +0100
     1.2 +++ b/openjpeg-dev/receipt	Sun Feb 13 23:47:43 2011 +0000
     1.3 @@ -1,19 +1,18 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="openjpeg-dev"
     1.7 -VERSION="1.3"
     1.8 +VERSION="1.4"
     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_3
    1.16 +_VERSION=v1_4
    1.17  
    1.18  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.19  genpkg_rules()
    1.20  {
    1.21 -	_pkg=$WOK/$WANTED/OpenJPEG_${_VERSION}/_pkg
    1.22  	mkdir -p $fs/usr/lib
    1.23  	cp -a $_pkg/usr/include $fs/usr
    1.24  	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
     2.1 --- a/openjpeg/receipt	Mon Feb 14 05:47:23 2011 +0100
     2.2 +++ b/openjpeg/receipt	Sun Feb 13 23:47:43 2011 +0000
     2.3 @@ -1,29 +1,30 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="openjpeg"
     2.7 -VERSION="1.3"
     2.8 +VERSION="1.4"
     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_3
    2.14 -TARBALL="${PACKAGE}_${_VERSION}.tar.gz"
    2.15 +_VERSION=v1_4
    2.16 +TARBALL="${PACKAGE}_${_VERSION}_sources_r697.tgz"
    2.17  WEB_SITE="http://www.openjpeg.org/"
    2.18 -WGET_URL="$WEB_SITE/$TARBALL"
    2.19 +WGET_URL="http://openjpeg.googlecode.com/files/$TARBALL"
    2.20  
    2.21  # Rules to configure and make the package.
    2.22  compile_rules()
    2.23  {
    2.24 -	src=$WOK/$PACKAGE/OpenJPEG_${_VERSION}
    2.25  	cd $src
    2.26 -	patch -Np1 -i ../stuff/30_fix_build_for_debian.dpatch
    2.27 +	./configure --enable-lcms2=no \
    2.28 +		--enable-png=no \
    2.29 +		--enable-lcms1=no \
    2.30 +		--disable-static &&
    2.31  	make && make DESTDIR=$PWD/_pkg install
    2.32  }
    2.33  
    2.34  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.35  genpkg_rules()
    2.36  {
    2.37 -	_pkg=$WOK/$PACKAGE/OpenJPEG_${_VERSION}/_pkg
    2.38  	mkdir -p $fs/usr/lib
    2.39  	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.40  }