wok view fop/receipt @ rev 24493
updated dokuwiki (20180422b -> 20200729)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 19 11:02:17 2022 +0100 (2022-02-19) |
parents | 084df65cce4c |
children | 80f721de4db7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="fop"
4 VERSION="2.4"
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="http://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 }