wok annotate fop/receipt @ rev 25705
fusecloop/extract_compressed_fs: can convert to v0.68 or v1.0
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 22 12:48:49 2024 +0000 (4 months ago) |
parents | 80f721de4db7 |
children |
rev | line source |
---|---|
paul@6997 | 1 # SliTaz package receipt. |
paul@6997 | 2 |
paul@6997 | 3 PACKAGE="fop" |
Hans-G?nter@24560 | 4 VERSION="2.7" |
paul@6997 | 5 CATEGORY="development" |
paul@6997 | 6 SHORT_DESC="Open source XSL-FO implementation." |
paul@6997 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15593 | 8 LICENSE="Apache" |
Hans-G?nter@20932 | 9 WEB_SITE="https://xmlgraphics.apache.org/fop/" |
Hans-G?nter@20932 | 10 |
paul@6997 | 11 TARBALL="$PACKAGE-$VERSION-bin.tar.gz" |
pascal@25499 | 12 WGET_URL="https://archive.apache.org/dist/xmlgraphics/$PACKAGE/binaries/$TARBALL" |
Hans-G?nter@20932 | 13 |
pankso@9634 | 14 SUGGESTED="java-jre" |
pankso@9634 | 15 DEPENDS="" |
pankso@9634 | 16 BUILD_DEPENDS="" |
paul@6997 | 17 |
pascal@24439 | 18 # What is the latest version available today? |
pascal@24439 | 19 current_version() |
pascal@24439 | 20 { |
pascal@24439 | 21 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24439 | 22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\)-bin.*|\\1|" | sort -Vr | sed q |
pascal@24439 | 23 } |
pascal@24439 | 24 |
paul@6997 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@6997 | 26 genpkg_rules() |
paul@6997 | 27 { |
paul@6997 | 28 mkdir -p $fs/usr/share/xml/docbook/$PACKAGE-$VERSION |
Hans-G?nter@22768 | 29 cp -a $src/* $fs/usr/share/xml/docbook/$PACKAGE-$VERSION |
paul@6997 | 30 } |