wok-6.x annotate fop/receipt @ rev 25414

updated wordpress (5.4.1 -> 6.0.1)
author Hans-G?nter Theisgen
date Thu Aug 04 08:44:13 2022 +0100 (2022-08-04)
parents bfabe25c21ff
children f7cc93574053
rev   line source
paul@6997 1 # SliTaz package receipt.
paul@6997 2
paul@6997 3 PACKAGE="fop"
Hans-G?nter@24560 4 VERSION="2.7"
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@24560 12 WGET_URL="https://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 }