# SliTaz package receipt. PACKAGE="a2ps" VERSION="4.14" CATEGORY="office" SHORT_DESC="Any to PostScript filter." MAINTAINER="pascal.bellard@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.gnu.org/software/a2ps/" WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" BUILD_DEPENDS="gperf" TAGS="ps print convert" # Rules to configure and make the package. compile_rules() { cd $src # Be busybox sort compatible sed -i 's/+0 -1/-k 1,2/' afm/make_fonts_map.sh ./configure --sysconfdir=/etc $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $_pkg/* $fs rm -rf $fs/usr/lib $fs/usr/include $fs/usr/share/man $fs/usr/share/info sed -i 's/^FileCommand/#FileCommand/' $fs/etc/a2ps.cfg }