wok-next view openjpeg/receipt @ rev 12826
linux: bootloader.sh may insert doc files in boot floppies
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 22 13:40:58 2012 +0200 (2012-05-22) |
parents | 16b97ec782a4 |
children | 159a8b382826 |
line source
1 # SliTaz package receipt.
3 PACKAGE="openjpeg"
4 VERSION="1.5.0"
5 CATEGORY="development"
6 SHORT_DESC="An open source JPEG 2000 codec"
7 MAINTAINER="slaxemulator@gmail.com"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.openjpeg.org/"
10 WGET_URL="http://openjpeg.googlecode.com/files/$TARBALL"
12 DEPENDS="glibc-base zlib tiff"
13 BUILD_DEPENDS="zlib-dev tiff-dev coreutils-directory"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 # make sure we use system libs
20 [ -d thirtparty ] && rm -rf thirtparty
21 ./configure --enable-lcms2=no \
22 --enable-png=no \
23 --enable-lcms1=no \
24 --disable-static \
25 $CONFIGURE_ARGS &&
26 make && make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 }