wok diff openjpeg/receipt @ rev 8435

Fixed udns.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Feb 06 02:03:49 2011 +0000 (2011-02-06)
parents
children 837aebf94f13
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/openjpeg/receipt	Sun Feb 06 02:03:49 2011 +0000
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="openjpeg"
     1.7 +VERSION="1.3"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="An open source JPEG 2000 codec"
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +DEPENDS="glibc-base"
    1.12 +_VERSION=v1_3
    1.13 +TARBALL="${PACKAGE}_${_VERSION}.tar.gz"
    1.14 +WEB_SITE="http://www.openjpeg.org/"
    1.15 +WGET_URL="$WEB_SITE/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	src=$WOK/$PACKAGE/OpenJPEG_${_VERSION}
    1.21 +	cd $src
    1.22 +	patch -Np1 -i ../stuff/30_fix_build_for_debian.dpatch
    1.23 +	make && make DESTDIR=$PWD/_pkg install
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +	_pkg=$WOK/$PACKAGE/OpenJPEG_${_VERSION}/_pkg
    1.30 +	mkdir -p $fs/usr/lib
    1.31 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.32 +}
    1.33 +