wok-next annotate jbig2dec/receipt @ rev 15207
Add mktorrent
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 10 12:15:52 2013 +0000 (2013-09-10) |
parents | 6029f8a7291a |
children | d6b99c62ef00 |
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" |
pascal@14999 | 8 LICENSE="GPL3" |
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 |
pascal@14999 | 13 DEPENDS="glibc-base" |
pascal@14999 | 14 |
slaxemulator@6842 | 15 # Rules to configure and make the package. |
slaxemulator@6842 | 16 compile_rules() |
slaxemulator@6842 | 17 { |
slaxemulator@6842 | 18 cd $src |
slaxemulator@6842 | 19 ./configure \ |
slaxemulator@6842 | 20 --prefix=/usr \ |
slaxemulator@6842 | 21 --infodir=/usr/share/info \ |
slaxemulator@6842 | 22 --mandir=/usr/share/man \ |
slaxemulator@6842 | 23 $CONFIGURE_ARGS && |
pascal@14999 | 24 make && make DESTDIR=$DESTDIR install |
slaxemulator@6842 | 25 } |
slaxemulator@6842 | 26 |
slaxemulator@6842 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6842 | 28 genpkg_rules() |
slaxemulator@6842 | 29 { |
slaxemulator@6842 | 30 mkdir -p $fs/usr/lib |
pascal@14999 | 31 cp -a $install/usr/bin $fs/usr |
pascal@14999 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@6842 | 33 } |
slaxemulator@6842 | 34 |