wok-next view a2ps/receipt @ rev 15176
php: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 16 19:08:32 2013 +0000 (2013-08-16) |
parents | 19c22cc9d6cc |
children | 617dbdeb6f7e |
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 TAGS="ps print convert"
13 BUILD_DEPENDS="gperf"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 # Be busybox sort compatible
20 sed -i 's/+0 -1/-k 1,2/' afm/make_fonts_map.sh
21 ./configure --sysconfdir=/etc $CONFIGURE_ARGS &&
22 make 2>&1 | grep -v fonts.map.new &&
23 make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $install/* $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 }