wok view fop/receipt @ rev 24531

updated osip and osip-dev (5.1.1 -> 5.3.0)
author Hans-G?nter Theisgen
date Wed Feb 23 09:00:20 2022 +0100 (2022-02-23)
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 }