wok-current diff openjpeg/receipt @ rev 10903

Add zbar
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 21 11:42:09 2011 +0200 (2011-07-21)
parents fb51094a6449
children b7319995b37e
line diff
     1.1 --- a/openjpeg/receipt	Wed Oct 20 01:21:41 2010 +0000
     1.2 +++ b/openjpeg/receipt	Thu Jul 21 11:42:09 2011 +0200
     1.3 @@ -1,29 +1,30 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="openjpeg"
     1.7 -VERSION="1.3"
     1.8 +VERSION="1.4"
     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_3
    1.14 -TARBALL="${PACKAGE}_${_VERSION}.tar.gz"
    1.15 +_VERSION=v1_4
    1.16 +TARBALL="${PACKAGE}_${_VERSION}_sources_r697.tgz"
    1.17  WEB_SITE="http://www.openjpeg.org/"
    1.18 -WGET_URL="$WEB_SITE/$TARBALL"
    1.19 +WGET_URL="http://openjpeg.googlecode.com/files/$TARBALL"
    1.20  
    1.21  # Rules to configure and make the package.
    1.22  compile_rules()
    1.23  {
    1.24 -	src=$WOK/$PACKAGE/OpenJPEG_${_VERSION}
    1.25  	cd $src
    1.26 -	patch -Np1 -i ../stuff/30_fix_build_for_debian.dpatch
    1.27 +	./configure --enable-lcms2=no \
    1.28 +		--enable-png=no \
    1.29 +		--enable-lcms1=no \
    1.30 +		--disable-static &&
    1.31  	make && make DESTDIR=$PWD/_pkg install
    1.32  }
    1.33  
    1.34  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.35  genpkg_rules()
    1.36  {
    1.37 -	_pkg=$WOK/$PACKAGE/OpenJPEG_${_VERSION}/_pkg
    1.38  	mkdir -p $fs/usr/lib
    1.39  	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.40  }