wok annotate jbigkit/receipt @ rev 18730

Quote root dir in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 20 15:13:45 2015 +0100 (2015-12-20)
parents 23c3aed67cd9
children be4941ed944e
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"
pankso@16058 12 HOST_ARCH="i486 arm"
pascal@4559 13
pascal@4559 14 # Rules to configure and make the package.
pascal@4559 15 compile_rules()
pascal@4559 16 {
pascal@4559 17 mv $PACKAGE $src 2> /dev/null
pascal@4559 18 cd $src
pankso@16058 19 make CC=${HOST_SYSTEM}-gcc
pascal@4559 20 }
pascal@4559 21
pascal@4559 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4559 23 genpkg_rules()
pascal@4559 24 {
pascal@4559 25 mkdir -p $fs/usr/lib $fs/usr/include
pascal@4559 26 cp -a $src/libjbig/*.h $fs/usr/include
pascal@4559 27 cp -a $src/libjbig/*.a $fs/usr/lib
pascal@4559 28 }