wok diff xalan-xerces-j/receipt @ rev 22360

libtorrent: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 21 11:46:03 2019 +0100 (2019-11-21)
parents ee5c8b018b62
children 535c806240cc
line diff
     1.1 --- a/xalan-xerces-j/receipt	Thu Dec 05 20:42:36 2013 +0000
     1.2 +++ b/xalan-xerces-j/receipt	Thu Nov 21 11:46:03 2019 +0100
     1.3 @@ -2,25 +2,26 @@
     1.4  
     1.5  PACKAGE="xalan-xerces-j"
     1.6  SOURCE="xalan-j"
     1.7 -VERSION="2.7.1"
     1.8 +VERSION="2.7.2"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="A validating XML parser and an XSLT processor written in Java."
    1.11  MAINTAINER="rcx@zoominternet.net"
    1.12  LICENSE="Apache"
    1.13 +WEB_SITE="http://xalan.apache.org/"
    1.14 +
    1.15 +TARBALL="${SOURCE}_${VERSION//./_}-bin-2jars.tar.gz"
    1.16 +WGET_URL="http://archive.apache.org/dist/xalan/xalan-j/binaries/$TARBALL"
    1.17 +
    1.18  SUGGESTED="java-jre"
    1.19 -TARBALL="${SOURCE}_2_7_1-bin-2jars.tar.gz"
    1.20 -WEB_SITE="http://xalan.apache.org/"
    1.21 -WGET_URL="http://www.apache.org/dist/xml/xalan-j/binaries/$TARBALL"
    1.22 -
    1.23 -DEPENDS=""
    1.24  BUILD_DEPENDS="tar"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 -	[ -d ${SOURCE}_2_7_1 ] && mv ${SOURCE}_2_7_1  $src
    1.30 +	[ -d ${SOURCE}_${VERSION//./_} ] &&
    1.31 +	mv ${SOURCE}_${VERSION//./_}  $src
    1.32  	cd $src
    1.33 -	
    1.34 +
    1.35  	mkdir -p $DESTDIR/usr/share/java &&
    1.36  	cp -f $src/*.jar $DESTDIR/usr/share/java
    1.37  }