wok-6.x view openjpeg/receipt @ rev 8463
Add: opensp*
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Feb 07 16:40:04 2011 +0100 (2011-02-07) |
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 }