abcl: bump version (#8883)

This commit is contained in:
Al Hoang
2023-06-28 00:09:05 -05:00
committed by GitHub
parent a801a1de4c
commit 4e4e1252df

View File

@@ -4,13 +4,13 @@ of the Common Lisp language featuring both an interpreter and a compiler, \
running in the JVM. Originally started to be a scripting language for \
the J editor, it now supports JSR-223 (Java scripting API): it can be a \
scripting engine in any Java application. Additionally, it can be used \
to implement (parts of) the application using Java to Lisp integration APIs. "
to implement (parts of) the application using Java to Lisp integration APIs."
HOMEPAGE="http://abcl.org/"
COPYRIGHT="1999-2020 ABCL development team"
COPYRIGHT="1999-2023 ABCL development team"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://abcl.org/releases/$portVersion/abcl-bin-$portVersion.tar.gz"
CHECKSUM_SHA256="83faaee1f3c121daf4e1fc74e3887d167efe47bc94538592b88b4ca16ed3c5a5"
CHECKSUM_SHA256="24970976b3565ddf32a1e0b17c5034a9996df25404ec44f240505b01c68a37fe"
SOURCE_DIR="abcl-bin-$portVersion"
ARCHITECTURES="any"
@@ -21,31 +21,21 @@ PROVIDES="
"
REQUIRES="
haiku
java:environment >= 11
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
java:environment == 11
java:environment >= 17
"
INSTALL()
{
source /system/data/profile.d/openjdk11.sh
export JAVA_HOME=$JDK11_HOME
# place jarfiles in lib
mkdir -p $libDir
cp *.jar $libDir
# runner script
# runner script
mkdir -p $binDir
echo "#!/bin/sh
java -jar $libDir/abcl.jar \$@" > $libDir/abcl
\$JDK17_HOME/bin/java -jar $libDir/abcl.jar \$@" > $libDir/abcl
chmod +x $libDir/abcl
ln -s $libDir/abcl $binDir
ln -sr $libDir/abcl $binDir
}