wok-current view openjpeg/receipt @ rev 7579

Up: firefox to 3.6.13.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Dec 09 14:42:29 2010 +0000 (2010-12-09)
parents
children 837aebf94f13
line source
1 # SliTaz package receipt.
3 PACKAGE="openjpeg"
4 VERSION="1.3"
5 CATEGORY="development"
6 SHORT_DESC="An open source JPEG 2000 codec"
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="glibc-base"
9 _VERSION=v1_3
10 TARBALL="${PACKAGE}_${_VERSION}.tar.gz"
11 WEB_SITE="http://www.openjpeg.org/"
12 WGET_URL="$WEB_SITE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 src=$WOK/$PACKAGE/OpenJPEG_${_VERSION}
18 cd $src
19 patch -Np1 -i ../stuff/30_fix_build_for_debian.dpatch
20 make && make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 _pkg=$WOK/$PACKAGE/OpenJPEG_${_VERSION}/_pkg
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 }