wok-4.x view a2ps/receipt @ rev 10461
python-formencode: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 25 11:27:37 2011 +0200 (2011-05-25) |
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 }