wok-current view a2ps/receipt @ rev 9741
Fix mpfr BUILD_DEPENDS
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 10 02:12:56 2011 +0200 (2011-05-10) |
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 }