wok-6.x annotate a2ps/receipt @ rev 10224
Up: openttd to 1.1.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 21 00:07:05 2011 +0000 (2011-05-21) |
parents | 8290ff5b0d6b |
children | 19c22cc9d6cc |
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" |
pascal@3814 | 9 WEB_SITE="http://www.infres.enst.fr/~demaille/" |
pascal@3814 | 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pascal@3814 | 11 BUILD_DEPENDS="gperf" |
jozee@4931 | 12 TAGS="ps print convert" |
pascal@3814 | 13 |
pascal@3814 | 14 # Rules to configure and make the package. |
pascal@3814 | 15 compile_rules() |
pascal@3814 | 16 { |
pascal@3814 | 17 cd $src |
pascal@5150 | 18 # Be busybox sort compatible |
pascal@5150 | 19 sed -i 's/+0 -1/-k 1,2/' afm/make_fonts_map.sh |
slaxemulator@10099 | 20 ./configure --sysconfdir=/etc $CONFIGURE_ARGS && |
pascal@3814 | 21 make && |
slaxemulator@10099 | 22 make install |
pascal@3814 | 23 } |
pascal@3814 | 24 |
pascal@3814 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3814 | 26 genpkg_rules() |
pascal@3814 | 27 { |
pascal@3814 | 28 cp -a $_pkg/* $fs |
pascal@3814 | 29 rm -rf $fs/usr/lib $fs/usr/include $fs/usr/share/man $fs/usr/share/info |
pascal@3814 | 30 sed -i 's/^FileCommand/#FileCommand/' $fs/etc/a2ps.cfg |
pascal@3814 | 31 } |