wok view fop/receipt @ rev 24784

updated yaws (2.0.7 -> 2.1.1)
author Hans-G?nter Theisgen
date Mon Mar 21 07:11:54 2022 +0100 (2022-03-21)
parents bfabe25c21ff
children f7cc93574053
line source
1 # SliTaz package receipt.
3 PACKAGE="fop"
4 VERSION="2.7"
5 CATEGORY="development"
6 SHORT_DESC="Open source XSL-FO implementation."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="Apache"
9 WEB_SITE="https://xmlgraphics.apache.org/fop/"
11 TARBALL="$PACKAGE-$VERSION-bin.tar.gz"
12 WGET_URL="https://apache.org/dist/xmlgraphics/$PACKAGE/binaries/$TARBALL"
14 SUGGESTED="java-jre"
15 DEPENDS=""
16 BUILD_DEPENDS=""
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\)-bin.*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share/xml/docbook/$PACKAGE-$VERSION
29 cp -a $src/* $fs/usr/share/xml/docbook/$PACKAGE-$VERSION
30 }