wok view fop/receipt @ rev 24729

updated libdnet and libdnet-dev (1.12 -> 1.14)
author Hans-G?nter Theisgen
date Tue Mar 15 16:28:57 2022 +0100 (2022-03-15)
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 }