wok-current annotate xalan-xerces-j/receipt @ rev 25601
use gcc49-lib-base for openldap-dev
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Sep 01 12:04:33 2023 +0000 (16 months ago) |
parents | 535c806240cc |
children |
rev | line source |
---|---|
rcx@3785 | 1 # SliTaz package receipt. |
rcx@3785 | 2 |
rcx@3785 | 3 PACKAGE="xalan-xerces-j" |
rcx@3785 | 4 SOURCE="xalan-j" |
Hans-G?nter@22148 | 5 VERSION="2.7.2" |
rcx@3785 | 6 CATEGORY="development" |
rcx@3785 | 7 SHORT_DESC="A validating XML parser and an XSLT processor written in Java." |
rcx@3785 | 8 MAINTAINER="rcx@zoominternet.net" |
pascal@15579 | 9 LICENSE="Apache" |
pascal@24746 | 10 WEB_SITE="https://xalan.apache.org/" |
Hans-G?nter@22148 | 11 |
Hans-G?nter@22148 | 12 TARBALL="${SOURCE}_${VERSION//./_}-bin-2jars.tar.gz" |
Hans-G?nter@22148 | 13 WGET_URL="http://archive.apache.org/dist/xalan/xalan-j/binaries/$TARBALL" |
Hans-G?nter@22148 | 14 |
slaxemulator@9641 | 15 SUGGESTED="java-jre" |
pankso@9634 | 16 BUILD_DEPENDS="tar" |
pankso@9634 | 17 |
pascal@24465 | 18 # What is the latest version available today? |
pascal@24465 | 19 current_version() |
pascal@24465 | 20 { |
pascal@24465 | 21 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ |
pascal@24465 | 22 sed "/latest/d;/${SOURCE}_[0-9]/!d;/tar/!d;s|.*${SOURCE}_\\(.*\\).bin.*|\\1|;s|_|.|g" | sort -Vr | sed q |
pascal@24465 | 23 } |
pascal@24465 | 24 |
rcx@3785 | 25 # Rules to configure and make the package. |
rcx@3785 | 26 compile_rules() |
rcx@3785 | 27 { |
Hans-G?nter@22148 | 28 [ -d ${SOURCE}_${VERSION//./_} ] && |
Hans-G?nter@22148 | 29 mv ${SOURCE}_${VERSION//./_} $src |
rcx@3785 | 30 cd $src |
Hans-G?nter@22148 | 31 |
pascal@15602 | 32 mkdir -p $DESTDIR/usr/share/java && |
pascal@15602 | 33 cp -f $src/*.jar $DESTDIR/usr/share/java |
rcx@3785 | 34 } |
rcx@3785 | 35 |
rcx@3785 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3785 | 37 genpkg_rules() |
rcx@3785 | 38 { |
rcx@3785 | 39 mkdir -p $fs |
pascal@15579 | 40 cp -a $install/usr $fs |
rcx@3785 | 41 } |