wok-4.x view a2ps/receipt @ rev 10327
python: Add $CONFIGURE_ARGS.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun May 22 00:49:28 2011 +0000 (2011-05-22) |
parents | 8290ff5b0d6b |
children | 19c22cc9d6cc |
line source
1 # SliTaz package receipt.
3 PACKAGE="a2ps"
4 VERSION="4.14"
5 CATEGORY="office"
6 SHORT_DESC="Any to PostScript filter."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.infres.enst.fr/~demaille/"
10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
11 BUILD_DEPENDS="gperf"
12 TAGS="ps print convert"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 # Be busybox sort compatible
19 sed -i 's/+0 -1/-k 1,2/' afm/make_fonts_map.sh
20 ./configure --sysconfdir=/etc $CONFIGURE_ARGS &&
21 make &&
22 make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $_pkg/* $fs
29 rm -rf $fs/usr/lib $fs/usr/include $fs/usr/share/man $fs/usr/share/info
30 sed -i 's/^FileCommand/#FileCommand/' $fs/etc/a2ps.cfg
31 }