wok-next annotate jbig2dec/receipt @ rev 8161

imported patch commit_inprogress/flex.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:49 2011 +0100 (2011-01-27)
parents
children 2b9f96603415
rev   line source
slaxemulator@6842 1 # SliTaz package receipt.
slaxemulator@6842 2
slaxemulator@6842 3 PACKAGE="jbig2dec"
slaxemulator@6842 4 VERSION="0.11"
slaxemulator@6842 5 CATEGORY="development"
slaxemulator@6842 6 SHORT_DESC="decoder implementation of the JBIG2 image compressiong format"
slaxemulator@6842 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@6842 8 DEPENDS="glibc-base"
slaxemulator@6842 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@6842 10 WEB_SITE="http://jbig2dec.sourceforge.net/"
slaxemulator@6842 11 WGET_URL="http://ghostscript.com/~giles/jbig2/$PACKAGE/$TARBALL"
slaxemulator@6842 12
slaxemulator@6842 13 # Rules to configure and make the package.
slaxemulator@6842 14 compile_rules()
slaxemulator@6842 15 {
slaxemulator@6842 16 cd $src
slaxemulator@6842 17 ./configure \
slaxemulator@6842 18 --prefix=/usr \
slaxemulator@6842 19 --infodir=/usr/share/info \
slaxemulator@6842 20 --mandir=/usr/share/man \
slaxemulator@6842 21 $CONFIGURE_ARGS &&
slaxemulator@6842 22 make && make DESTDIR=$PWD/_pkg install
slaxemulator@6842 23 }
slaxemulator@6842 24
slaxemulator@6842 25 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6842 26 genpkg_rules()
slaxemulator@6842 27 {
slaxemulator@6842 28 mkdir -p $fs/usr/lib
slaxemulator@6842 29 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@6842 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
slaxemulator@6842 31 }
slaxemulator@6842 32