wok-6.x annotate 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
rev   line source
slaxemulator@6843 1 # SliTaz package receipt.
slaxemulator@6843 2
slaxemulator@6843 3 PACKAGE="openjpeg"
slaxemulator@12315 4 VERSION="1.5.0"
slaxemulator@6843 5 CATEGORY="development"
slaxemulator@6843 6 SHORT_DESC="An open source JPEG 2000 codec"
slaxemulator@6843 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@12315 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@6843 9 WEB_SITE="http://www.openjpeg.org/"
slaxemulator@8600 10 WGET_URL="http://openjpeg.googlecode.com/files/$TARBALL"
slaxemulator@6843 11
al@14429 12 DEPENDS="glibc-base"
slaxemulator@12315 13 BUILD_DEPENDS="zlib-dev tiff-dev coreutils-directory"
pascal@12119 14
slaxemulator@6843 15 # Rules to configure and make the package.
slaxemulator@6843 16 compile_rules()
slaxemulator@6843 17 {
slaxemulator@6843 18 cd $src
slaxemulator@12315 19 # make sure we use system libs
slaxemulator@12315 20 [ -d thirtparty ] && rm -rf thirtparty
slaxemulator@8600 21 ./configure --enable-lcms2=no \
slaxemulator@8600 22 --enable-png=no \
slaxemulator@8600 23 --enable-lcms1=no \
gokhlayeh@11573 24 --disable-static \
gokhlayeh@11573 25 $CONFIGURE_ARGS &&
slaxemulator@12315 26 make && make DESTDIR=$DESTDIR install
slaxemulator@6843 27 }
slaxemulator@6843 28
slaxemulator@6843 29 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6843 30 genpkg_rules()
slaxemulator@6843 31 {
slaxemulator@6843 32 mkdir -p $fs/usr/lib
al@14429 33 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@6843 34 }
slaxemulator@6843 35