wok view a2ps/receipt @ rev 25279

updated rfkill (0.5 -> 1.0)
author Hans-G?nter Theisgen
date Mon Jul 18 15:03:30 2022 +0100 (2022-07-18)
parents bfabe25c21ff
children d79ed38ace18
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 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 # Be busybox sort compatible
27 sed -i 's/+0 -1/-k 1,2/' afm/make_fonts_map.sh
28 ./configure --sysconfdir=/etc $CONFIGURE_ARGS &&
29 make 2>&1 | grep -v fonts.map.new &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/* $fs
37 rm -rf $fs/usr/lib $fs/usr/include $fs/usr/share/man $fs/usr/share/info
38 sed -i 's/^FileCommand/#FileCommand/' $fs/etc/a2ps.cfg
39 }