wok-next view openjpeg/receipt @ rev 11573
Fix build/host configure option in recipes which was not detecting the right ones well + tiny fixes.
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Jan 02 23:06:18 2012 +0100 (2012-01-02) |
parents | 837aebf94f13 |
children | 16b97ec782a4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="openjpeg"
4 VERSION="1.4"
5 CATEGORY="development"
6 SHORT_DESC="An open source JPEG 2000 codec"
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="glibc-base"
9 _VERSION=v1_4
10 TARBALL="${PACKAGE}_${_VERSION}_sources_r697.tgz"
11 WEB_SITE="http://www.openjpeg.org/"
12 WGET_URL="http://openjpeg.googlecode.com/files/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --enable-lcms2=no \
19 --enable-png=no \
20 --enable-lcms1=no \
21 --disable-static \
22 $CONFIGURE_ARGS &&
23 make && make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 }