apache-ant: update to 1.10.7.
This commit is contained in:
parent
2015240875
commit
a965ea620e
1 changed files with 6 additions and 6 deletions
|
@ -1,16 +1,16 @@
|
||||||
# Template file for 'apache-ant'
|
# Template file for 'apache-ant'
|
||||||
pkgname=apache-ant
|
pkgname=apache-ant
|
||||||
version=1.10.5
|
version=1.10.7
|
||||||
revision=1
|
revision=1
|
||||||
archs=noarch
|
archs=noarch
|
||||||
hostmakedepends="openjdk"
|
hostmakedepends="openjdk8"
|
||||||
depends="virtual?java-runtime"
|
depends="virtual?java-runtime"
|
||||||
short_desc="Java library and command-line tool that help building software"
|
short_desc="Java library and command-line tool that help building software"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||||
license="Apache License"
|
license="Apache License"
|
||||||
homepage="http://ant.apache.org"
|
homepage="http://ant.apache.org"
|
||||||
distfiles="http://mirror.dkd.de/apache/ant/source/apache-ant-${version}-src.tar.xz"
|
distfiles="http://mirror.dkd.de/apache/ant/source/apache-ant-${version}-src.tar.xz"
|
||||||
checksum=ec7c704e22a2b0167e1ff35cc3d4198267e6489f142aa3e9da1b7fe6e39ff53d
|
checksum=c8d68b396d9e44b49668bafe0c82f8c89497915254b5395d73d6f6e41d7a0e25
|
||||||
|
|
||||||
nocross=yes
|
nocross=yes
|
||||||
_prefix=usr/share/apache-ant
|
_prefix=usr/share/apache-ant
|
||||||
|
@ -18,16 +18,16 @@ _prefix=usr/share/apache-ant
|
||||||
do_configure() {
|
do_configure() {
|
||||||
# Disable tests
|
# Disable tests
|
||||||
sed -i 's/jars,test-jar/jars/' build.xml
|
sed -i 's/jars,test-jar/jars/' build.xml
|
||||||
export JAVA_HOME=/usr/lib/jvm/openjdk
|
export JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk
|
||||||
./bootstrap.sh
|
./bootstrap.sh
|
||||||
bootstrap/bin/ant -Ddest=optional -f fetch.xml
|
bootstrap/bin/ant -Ddest=optional -f fetch.xml
|
||||||
}
|
}
|
||||||
do_build() {
|
do_build() {
|
||||||
export JAVA_HOME=/usr/lib/jvm/openjdk
|
export JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk
|
||||||
bootstrap/bin/ant -Ddist.dir=$DESTDIR/$_prefix jars
|
bootstrap/bin/ant -Ddist.dir=$DESTDIR/$_prefix jars
|
||||||
}
|
}
|
||||||
do_install() {
|
do_install() {
|
||||||
export JAVA_HOME=/usr/lib/jvm/openjdk
|
export JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk
|
||||||
bootstrap/bin/ant -Ddist.dir=$DESTDIR/$_prefix dist
|
bootstrap/bin/ant -Ddist.dir=$DESTDIR/$_prefix dist
|
||||||
|
|
||||||
vinstall ${FILESDIR}/apache-ant.sh 644 etc/profile.d
|
vinstall ${FILESDIR}/apache-ant.sh 644 etc/profile.d
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue