apache-ant: switch to INSTALL.msg.
This commit is contained in:
parent
904c9697ce
commit
f72f537acb
|
@ -1,12 +1,3 @@
|
||||||
#
|
|
||||||
# This script will advise the user to re-login to have JRE included
|
|
||||||
# in PATH
|
|
||||||
#
|
|
||||||
case "${ACTION}" in
|
|
||||||
pre)
|
|
||||||
;;
|
|
||||||
post)
|
|
||||||
cat << _EOF
|
|
||||||
=====================================================================
|
=====================================================================
|
||||||
|
|
||||||
- Please re-login to include Apache Ant in your PATH or re-source
|
- Please re-login to include Apache Ant in your PATH or re-source
|
||||||
|
@ -15,7 +6,3 @@ post)
|
||||||
$ source /etc/profile
|
$ source /etc/profile
|
||||||
|
|
||||||
=====================================================================
|
=====================================================================
|
||||||
_EOF
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'apache-ant'
|
# Template file for 'apache-ant'
|
||||||
pkgname="apache-ant"
|
pkgname="apache-ant"
|
||||||
version="1.9.4"
|
version="1.9.4"
|
||||||
revision=2
|
revision=3
|
||||||
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 <eb@s01.de>"
|
maintainer="Enno Boland <eb@s01.de>"
|
||||||
license="Apache License"
|
license="Apache License"
|
||||||
|
@ -13,17 +13,14 @@ depends="oracle-jdk?java-runtime"
|
||||||
noarch="yes"
|
noarch="yes"
|
||||||
_prefix=usr/share/apache-ant
|
_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
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
source /etc/profile.d/oracle-jdk.sh
|
source /etc/profile.d/oracle-jdk.sh
|
||||||
./build.sh -Ddist.dir=$DESTDIR/$_prefix jars
|
./build.sh -Ddist.dir=$DESTDIR/$_prefix jars
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
source /etc/profile.d/oracle-jdk.sh
|
source /etc/profile.d/oracle-jdk.sh
|
||||||
./build.sh -Ddist.dir=$DESTDIR/$_prefix dist
|
./build.sh -Ddist.dir=$DESTDIR/$_prefix dist
|
||||||
|
|
Loading…
Reference in New Issue