wok-next view a2ps/receipt @ rev 19264
Compress manpages (in $install/usr/share/man/...)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 04 00:54:49 2016 +0300 (2016-07-04) |
parents | 617dbdeb6f7e |
children | 11b5e93cb5f2 |
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 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/a2ps/"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="ps print convert"
14 BUILD_DEPENDS="gperf"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
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
25 cook_compress_manpages
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $install/* $fs
32 rm -rf $fs/usr/lib $fs/usr/include $fs/usr/share/man $fs/usr/share/info
33 sed -i 's/^FileCommand/#FileCommand/' $fs/etc/a2ps.cfg
34 }