wok-current annotate fop/receipt @ rev 24547

updated findutils (4.7.0 -> 4.9.0)
author Hans-G?nter Theisgen
date Fri Feb 25 07:40:37 2022 +0100 (2022-02-25)
parents 084df65cce4c
children 80f721de4db7
rev   line source
paul@6997 1 # SliTaz package receipt.
paul@6997 2
paul@6997 3 PACKAGE="fop"
Hans-G?nter@22768 4 VERSION="2.4"
paul@6997 5 CATEGORY="development"
paul@6997 6 SHORT_DESC="Open source XSL-FO implementation."
paul@6997 7 MAINTAINER="paul@slitaz.org"
pascal@15593 8 LICENSE="Apache"
Hans-G?nter@20932 9 WEB_SITE="https://xmlgraphics.apache.org/fop/"
Hans-G?nter@20932 10
paul@6997 11 TARBALL="$PACKAGE-$VERSION-bin.tar.gz"
Hans-G?nter@20932 12 WGET_URL="http://apache.org/dist/xmlgraphics/$PACKAGE/binaries/$TARBALL"
Hans-G?nter@20932 13
pankso@9634 14 SUGGESTED="java-jre"
pankso@9634 15 DEPENDS=""
pankso@9634 16 BUILD_DEPENDS=""
paul@6997 17
pascal@24439 18 # What is the latest version available today?
pascal@24439 19 current_version()
pascal@24439 20 {
pascal@24439 21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24439 22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\)-bin.*|\\1|" | sort -Vr | sed q
pascal@24439 23 }
pascal@24439 24
paul@6997 25 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@6997 26 genpkg_rules()
paul@6997 27 {
paul@6997 28 mkdir -p $fs/usr/share/xml/docbook/$PACKAGE-$VERSION
Hans-G?nter@22768 29 cp -a $src/* $fs/usr/share/xml/docbook/$PACKAGE-$VERSION
paul@6997 30 }