wok-6.x rev 6843

Added openjpeg. Needed for mupdf.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Oct 20 01:21:41 2010 +0000 (2010-10-20)
parents 6029f8a7291a
children a413e8ddbcb5 4e4cf23c531e
files openjpeg-dev/receipt openjpeg/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/openjpeg-dev/receipt	Wed Oct 20 01:21:41 2010 +0000
     1.3 @@ -0,0 +1,21 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="openjpeg-dev"
     1.7 +VERSION="1.3"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="devel files for openjpeg"
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +DEPENDS="openjpeg"
    1.12 +WEB_SITE="http://www.openjpeg.org/"
    1.13 +WANTED="openjpeg"
    1.14 +_VERSION=v1_3
    1.15 +
    1.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 +genpkg_rules()
    1.18 +{
    1.19 +	_pkg=$WOK/$WANTED/OpenJPEG_${_VERSION}/_pkg
    1.20 +	mkdir -p $fs/usr/lib
    1.21 +	cp -a $_pkg/usr/include $fs/usr
    1.22 +	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.23 +}
    1.24 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/openjpeg/receipt	Wed Oct 20 01:21:41 2010 +0000
     2.3 @@ -0,0 +1,30 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="openjpeg"
     2.7 +VERSION="1.3"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="An open source JPEG 2000 codec"
    2.10 +MAINTAINER="slaxemulator@gmail.com"
    2.11 +DEPENDS="glibc-base"
    2.12 +_VERSION=v1_3
    2.13 +TARBALL="${PACKAGE}_${_VERSION}.tar.gz"
    2.14 +WEB_SITE="http://www.openjpeg.org/"
    2.15 +WGET_URL="$WEB_SITE/$TARBALL"
    2.16 +
    2.17 +# Rules to configure and make the package.
    2.18 +compile_rules()
    2.19 +{
    2.20 +	src=$WOK/$PACKAGE/OpenJPEG_${_VERSION}
    2.21 +	cd $src
    2.22 +	patch -Np1 -i ../stuff/30_fix_build_for_debian.dpatch
    2.23 +	make && make DESTDIR=$PWD/_pkg install
    2.24 +}
    2.25 +
    2.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.27 +genpkg_rules()
    2.28 +{
    2.29 +	_pkg=$WOK/$PACKAGE/OpenJPEG_${_VERSION}/_pkg
    2.30 +	mkdir -p $fs/usr/lib
    2.31 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.32 +}
    2.33 +