wok-next annotate jbigkit/receipt @ rev 15608

hubbub: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 06 20:31:17 2013 +0000 (2013-12-06)
parents 841bbd4ca588
children 0b50bcb60588
rev   line source
pascal@4559 1 # SliTaz package receipt.
pascal@4559 2
pascal@4559 3 PACKAGE="jbigkit"
pascal@4559 4 VERSION="2.0"
pascal@4559 5 CATEGORY="development"
pascal@4559 6 SHORT_DESC="highly effective data compression algorithm for bi-level high-resolution images."
pascal@4559 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15601 8 LICENSE="GPL2"
pascal@4559 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@4559 10 WEB_SITE="http://www.cl.cam.ac.uk/~mgk25/jbigkit/"
pascal@4559 11 WGET_URL="http://www.cl.cam.ac.uk/~mgk25/download//$TARBALL"
pascal@4559 12
pascal@4559 13 # Rules to configure and make the package.
pascal@4559 14 compile_rules()
pascal@4559 15 {
pascal@4559 16 mv $PACKAGE $src 2> /dev/null
pascal@4559 17 cd $src
pascal@4559 18 make
pascal@4559 19 }
pascal@4559 20
pascal@4559 21 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4559 22 genpkg_rules()
pascal@4559 23 {
pascal@4559 24 mkdir -p $fs/usr/lib $fs/usr/include
pascal@4559 25 cp -a $src/libjbig/*.h $fs/usr/include
pascal@4559 26 cp -a $src/libjbig/*.a $fs/usr/lib
pascal@4559 27 }
pascal@4559 28