wok annotate 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
rev   line source
pascal@3814 1 # SliTaz package receipt.
pascal@3814 2
pascal@3814 3 PACKAGE="a2ps"
pascal@3814 4 VERSION="4.14"
pascal@3814 5 CATEGORY="office"
pascal@3814 6 SHORT_DESC="Any to PostScript filter."
pascal@3814 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@3814 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@11684 9 WEB_SITE="http://www.gnu.org/software/a2ps/"
pascal@3814 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pascal@15176 11 TAGS="ps print convert"
pascal@15176 12
pascal@3814 13 BUILD_DEPENDS="gperf"
pascal@3814 14
pascal@3814 15 # Rules to configure and make the package.
pascal@3814 16 compile_rules()
pascal@3814 17 {
pascal@3814 18 cd $src
pascal@5150 19 # Be busybox sort compatible
pascal@5150 20 sed -i 's/+0 -1/-k 1,2/' afm/make_fonts_map.sh
slaxemulator@10099 21 ./configure --sysconfdir=/etc $CONFIGURE_ARGS &&
pascal@15176 22 make 2>&1 | grep -v fonts.map.new &&
slaxemulator@10099 23 make install
pascal@3814 24 }
pascal@3814 25
pascal@3814 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@3814 27 genpkg_rules()
pascal@3814 28 {
pascal@15176 29 cp -a $install/* $fs
pascal@3814 30 rm -rf $fs/usr/lib $fs/usr/include $fs/usr/share/man $fs/usr/share/info
pascal@3814 31 sed -i 's/^FileCommand/#FileCommand/' $fs/etc/a2ps.cfg
pascal@3814 32 }