diff options
Diffstat (limited to 'development/zulu-openjdk8/zulu-openjdk8.SlackBuild')
-rw-r--r-- | development/zulu-openjdk8/zulu-openjdk8.SlackBuild | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/development/zulu-openjdk8/zulu-openjdk8.SlackBuild b/development/zulu-openjdk8/zulu-openjdk8.SlackBuild index b33063288b..9f57b8a062 100644 --- a/development/zulu-openjdk8/zulu-openjdk8.SlackBuild +++ b/development/zulu-openjdk8/zulu-openjdk8.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for zulu-openjdk8 # Copyright (c) 2017-2018, Sébastien Ballet <slacker6896 at gmail.com> +# Copyright (c) 2022, Andrew Clemons, Tokyo Japan # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,8 +26,10 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=zulu-openjdk8 -VERSION=${VERSION:-8.0.322} -ZULUVERSION=${ZULUVERSION:-8.60.0.21} +VERSION=${VERSION:-8.0.345} +VERSIONARM=${VERSIONARM:-8.0.342} +ZULUVERSION=${ZULUVERSION:-8.64.0.19} +ZULUVERSIONARM=${ZULUVERSIONARM:-8.64.0.15} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -50,10 +53,25 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i686" ]; then ZULU_ARCH=i686 + ZULUVERSION=$ZULUVERSION LIBDIRSUFFIX="" + JVMLIBARCH="i386" elif [ "$ARCH" = "x86_64" ]; then ZULU_ARCH=x64 + ZULUVERSION=$ZULUVERSION LIBDIRSUFFIX="64" + JVMLIBARCH="amd64" +elif [ "$ARCH" = "arm" ]; then + ZULU_ARCH=aarch32hf + ZULUVERSION=$ZULUVERSIONARM + VERSION=$VERSIONARM + LIBDIRSUFFIX="" + JVMLIBARCH="aarch32" +elif [ "$ARCH" = "aarch64" ]; then + ZULU_ARCH=aarch64 + ZULUVERSION=$ZULUVERSION + LIBDIRSUFFIX="64" + JVMLIBARCH="aarch64" else echo "Architecture ${ARCH} is not supported." exit 1 @@ -85,7 +103,7 @@ find -L . \ # if [ "${CREATE_LIBJVM_SYMLINK:-yes}" = "yes" ] ; then ln -sf \ - ${PRGNAM}/jre/lib/${LIB_ARCH}/server/libjvm.so \ + ${PRGNAM}/jre/lib/${JVMLIBARCH}/server/libjvm.so \ $PKG/usr/lib${LIBDIRSUFFIX}/libjvm.so fi |