wok view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="jbigkit"
4 VERSION="2.0"
5 CATEGORY="development"
6 SHORT_DESC="highly effective data compression algorithm for bi-level high-resolution images."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.cl.cam.ac.uk/~mgk25/jbigkit/"
11 WGET_URL="http://www.cl.cam.ac.uk/~mgk25/download//$TARBALL"
12 HOST_ARCH="i486 arm"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 mv $PACKAGE $src 2> /dev/null
18 cd $src
19 make CC=${HOST_SYSTEM}-gcc
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/lib $fs/usr/include
26 cp -a $src/libjbig/*.h $fs/usr/include
27 cp -a $src/libjbig/*.a $fs/usr/lib
28 }