wok-current view openjpeg/receipt @ rev 14599

Add manaplus
author Brenton Scott <admin@trixarian.net>
date Mon May 27 22:31:40 2013 +0200 (2013-05-27)
parents 9df2d923214c
children ad59999b3fce
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"
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 $install/usr/lib/*.so* $fs/usr/lib
34 }