wok view fop/receipt @ rev 25660

ntfsprogs: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 17 11:09:57 2024 +0000 (9 months ago)
parents 80f721de4db7
children
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://archive.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 }