mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
ant_core, bump version (#6519)
This commit is contained in:
@@ -16,11 +16,11 @@ Software development projects looking for a solution combining build tool and \
|
||||
dependency management can use Ant in combination with Apache Ivy.
|
||||
The Apache Ant project is part of the Apache Software Foundation."
|
||||
HOMEPAGE="http://ant.apache.org/"
|
||||
COPYRIGHT="1999-2020 The Apache Software Foundation"
|
||||
COPYRIGHT="1999-2021 The Apache Software Foundation"
|
||||
LICENSE="Apache v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://archive.apache.org/dist/ant/source/apache-ant-$portVersion-src.tar.bz2"
|
||||
CHECKSUM_SHA256="cac5cf44906fceae4604fb6a641d67ab1703b45e3dc941d2dd6108edf89fca71"
|
||||
CHECKSUM_SHA256="044e2c0a66c90112d67789d267f049ae947fde384e29b1f8c14ada9bead0fe44"
|
||||
SOURCE_DIR="apache-ant-$portVersion"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
@@ -34,13 +34,13 @@ PROVIDES="
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
java:environment >= 8
|
||||
java:environment >= 11
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
java:environment == 8
|
||||
java:environment == 11
|
||||
"
|
||||
|
||||
PATCH()
|
||||
@@ -50,17 +50,17 @@ PATCH()
|
||||
|
||||
BUILD()
|
||||
{
|
||||
source /system/data/profile.d/openjdk8.sh
|
||||
export PATH=$JDK8_HOME/bin:$PATH
|
||||
export JAVA_HOME="$JDK8_HOME"
|
||||
source /system/data/profile.d/openjdk11.sh
|
||||
export PATH=$JDK11_HOME/bin:$PATH
|
||||
export JAVA_HOME="$JDK11_HOME"
|
||||
export DISABLE_ASLR=1
|
||||
ANT_HOME= ./build.sh
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
source /system/data/profile.d/openjdk8.sh
|
||||
export JAVA_HOME=$JDK8_HOME
|
||||
source /system/data/profile.d/openjdk11.sh
|
||||
export JAVA_HOME=$JDK11_HOME
|
||||
export ANT_HOME=$libDir/ant
|
||||
./build.sh install-lite
|
||||
|
||||
Reference in New Issue
Block a user