wok-current view openjpeg/receipt @ rev 14429
fix openjpeg-dev, add openjpeg2, rebuild mupdf, move from undigest djvulibre, and finally add fbpdf-mupdf
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Apr 24 14:06:49 2013 +0000 (2013-04-24) |
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 }