wok view xalan-xerces-j/receipt @ rev 25091
updated paramiko (2.7.1 -> 2.11.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jun 18 09:52:25 2022 +0100 (2022-06-18) |
parents | 535c806240cc |
children | 3c575401ce94 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xalan-xerces-j"
4 SOURCE="xalan-j"
5 VERSION="2.7.2"
6 CATEGORY="development"
7 SHORT_DESC="A validating XML parser and an XSLT processor written in Java."
8 MAINTAINER="rcx@zoominternet.net"
9 LICENSE="Apache"
10 WEB_SITE="https://xalan.apache.org/"
12 TARBALL="${SOURCE}_${VERSION//./_}-bin-2jars.tar.gz"
13 WGET_URL="http://archive.apache.org/dist/xalan/xalan-j/binaries/$TARBALL"
15 SUGGESTED="java-jre"
16 BUILD_DEPENDS="tar"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
22 sed "/latest/d;/${SOURCE}_[0-9]/!d;/tar/!d;s|.*${SOURCE}_\\(.*\\).bin.*|\\1|;s|_|.|g" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 [ -d ${SOURCE}_${VERSION//./_} ] &&
29 mv ${SOURCE}_${VERSION//./_} $src
30 cd $src
32 mkdir -p $DESTDIR/usr/share/java &&
33 cp -f $src/*.jar $DESTDIR/usr/share/java
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs
40 cp -a $install/usr $fs
41 }