wok-current view a2ps/receipt @ rev 14590

drbl: its really hard to find all deps - ok, add some of them; also shrink loooong 'short desc' and add description
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon May 27 00:27:59 2013 +0000 (2013-05-27)
parents 8ef4e77889f9
children 7b91061e7189
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.gnu.org/software/a2ps/"
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 }