wok-6.x view jbig2dec/receipt @ rev 10954

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