wok-6.x view a2ps/receipt @ rev 9179
Up: freeciv to 2.2.5.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Mar 08 20:38:59 2011 +0000 (2011-03-08) |
parents | f4fd0777003f |
children | 8ef4e77889f9 |
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 --prefix=/usr --infodir=/usr/share/info \
21 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $_pkg/* $fs
30 rm -rf $fs/usr/lib $fs/usr/include $fs/usr/share/man $fs/usr/share/info
31 sed -i 's/^FileCommand/#FileCommand/' $fs/etc/a2ps.cfg
32 }