2022-02-03 10:26:27 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://ant.apache.org/
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_DESCRIPTION="Java based build tool like make"
|
2021-10-13 11:42:30 +02:00
|
|
|
TERMUX_PKG_LICENSE="Apache-2.0"
|
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2021-10-21 17:52:46 +02:00
|
|
|
TERMUX_PKG_VERSION=1.10.12
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_SRCURL=http://apache.mirrors.spacedump.net//ant/binaries/apache-ant-${TERMUX_PKG_VERSION}-bin.tar.bz2
|
2021-10-21 17:52:46 +02:00
|
|
|
TERMUX_PKG_SHA256=276ea73f267a5b1a58f02e2eb5ef594a9b2885e33afb05ef995251d4d18377a6
|
2021-10-02 16:00:30 +02:00
|
|
|
TERMUX_PKG_DEPENDS="openjdk-17"
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
2021-08-27 12:06:16 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2015-06-13 01:03:31 +02:00
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_make_install() {
|
2021-10-02 16:00:30 +02:00
|
|
|
mv ./bin/ant .
|
|
|
|
rm -f ./bin/*
|
|
|
|
mv ./ant ./bin/
|
2021-10-03 09:12:58 +02:00
|
|
|
rm -rf manual
|
2021-10-02 16:00:30 +02:00
|
|
|
rm -rf $TERMUX_PREFIX/opt/ant
|
|
|
|
mkdir -p $TERMUX_PREFIX/opt/ant
|
|
|
|
cp -r ./* $TERMUX_PREFIX/opt/ant
|
2021-10-13 11:42:30 +02:00
|
|
|
ln -sfr $TERMUX_PREFIX/opt/ant/bin/ant $TERMUX_PREFIX/bin/ant
|
2015-06-13 01:03:31 +02:00
|
|
|
}
|