apache-ant: update to 1.10.5
Version 1.10.1 distfile is gone. Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
c3359858c7
commit
99870380b5
1 changed files with 8 additions and 5 deletions
|
@ -1,13 +1,13 @@
|
|||
# Template file for 'apache-ant'
|
||||
pkgname="apache-ant"
|
||||
version=1.10.1
|
||||
version=1.10.5
|
||||
revision=1
|
||||
short_desc="Java library and command-line tool that help building software"
|
||||
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||
license="Apache License"
|
||||
homepage="http://ant.apache.org"
|
||||
distfiles="http://mirror.dkd.de/apache/ant/source/apache-ant-${version}-src.tar.bz2"
|
||||
checksum=d5e3d87f0b4b42e0505b44215b4c4bbfaf6f49655c0a530136adfe4e724363b4
|
||||
distfiles="http://mirror.dkd.de/apache/ant/source/apache-ant-${version}-src.tar.xz"
|
||||
checksum=ec7c704e22a2b0167e1ff35cc3d4198267e6489f142aa3e9da1b7fe6e39ff53d
|
||||
hostmakedepends="openjdk"
|
||||
depends="virtual?java-runtime"
|
||||
noarch="yes"
|
||||
|
@ -17,14 +17,17 @@ _prefix=usr/share/apache-ant
|
|||
do_configure() {
|
||||
# Disable tests
|
||||
sed -i 's/jars,test-jar/jars/' build.xml
|
||||
export JAVA_HOME=/usr/lib/jvm/openjdk
|
||||
./bootstrap.sh
|
||||
bootstrap/bin/ant -Ddest=optional -f fetch.xml
|
||||
}
|
||||
do_build() {
|
||||
export JAVA_HOME=/usr/lib/jvm/openjdk
|
||||
./build.sh -Ddist.dir=$DESTDIR/$_prefix jars
|
||||
bootstrap/bin/ant -Ddist.dir=$DESTDIR/$_prefix jars
|
||||
}
|
||||
do_install() {
|
||||
export JAVA_HOME=/usr/lib/jvm/openjdk
|
||||
./build.sh -Ddist.dir=$DESTDIR/$_prefix dist
|
||||
bootstrap/bin/ant -Ddist.dir=$DESTDIR/$_prefix dist
|
||||
|
||||
vinstall ${FILESDIR}/apache-ant.sh 644 etc/profile.d
|
||||
rm $DESTDIR/$_prefix/bin/*.bat
|
||||
|
|
Loading…
Add table
Reference in a new issue