wok annotate a2ps/receipt @ rev 25808
created recipe for xmenu
author | Hans-G?nter Theisgen |
---|---|
date | Thu Dec 19 16:09:37 2024 +0100 (9 days ago) |
parents | 241fb98cab1c |
children |
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@15362 | 8 LICENSE="GPL3" |
pascal@3814 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@11684 | 10 WEB_SITE="http://www.gnu.org/software/a2ps/" |
pascal@3814 | 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pascal@15176 | 12 TAGS="ps print convert" |
pascal@15176 | 13 |
pascal@3814 | 14 BUILD_DEPENDS="gperf" |
pascal@3814 | 15 |
pascal@24336 | 16 # What is the latest version available today? |
pascal@24336 | 17 current_version() |
pascal@24336 | 18 { |
pascal@25609 | 19 wget -O - https://ftp.gnu.org/gnu/$PACKAGE/ 2>/dev/null | \ |
pascal@24439 | 20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24336 | 21 } |
pascal@24336 | 22 |
pascal@3814 | 23 # Rules to configure and make the package. |
pascal@3814 | 24 compile_rules() |
pascal@3814 | 25 { |
pascal@5150 | 26 # Be busybox sort compatible |
pascal@5150 | 27 sed -i 's/+0 -1/-k 1,2/' afm/make_fonts_map.sh |
slaxemulator@10099 | 28 ./configure --sysconfdir=/etc $CONFIGURE_ARGS && |
pascal@15176 | 29 make 2>&1 | grep -v fonts.map.new && |
slaxemulator@10099 | 30 make install |
pascal@3814 | 31 } |
pascal@3814 | 32 |
pascal@3814 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3814 | 34 genpkg_rules() |
pascal@3814 | 35 { |
pascal@15176 | 36 cp -a $install/* $fs |
pascal@3814 | 37 rm -rf $fs/usr/lib $fs/usr/include $fs/usr/share/man $fs/usr/share/info |
pascal@3814 | 38 sed -i 's/^FileCommand/#FileCommand/' $fs/etc/a2ps.cfg |
pascal@3814 | 39 } |