wok-next diff openjpeg/receipt @ 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 | |
children | 837aebf94f13 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/openjpeg/receipt Wed Oct 20 01:21:41 2010 +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 +