diff options
Diffstat (limited to 'development/zulu-openjdk17/zulu-openjdk17.SlackBuild')
-rw-r--r-- | development/zulu-openjdk17/zulu-openjdk17.SlackBuild | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/development/zulu-openjdk17/zulu-openjdk17.SlackBuild b/development/zulu-openjdk17/zulu-openjdk17.SlackBuild index 25b8a7ce065c..a3600673dbf1 100644 --- a/development/zulu-openjdk17/zulu-openjdk17.SlackBuild +++ b/development/zulu-openjdk17/zulu-openjdk17.SlackBuild @@ -25,18 +25,19 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=zulu-openjdk17 -VERSION=${VERSION:-17.0.1} -ZULUVERSION=${ZULUVERSION:-17.30.15} +VERSION=${VERSION:-17.0.2} +ZULUVERSION=${ZULUVERSION:-17.32.13} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -ARCH=${ARCH:-$(uname -m)} - -case "${ARCH}" in - i?86) ARCH=i686 ;; - x86_64) ARCH=x64 ;; -esac +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i686 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" @@ -48,17 +49,17 @@ PKG=${TMP}/package-${PRGNAM} OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i686" ]; then - LIB_ARCH=i686 + ZULU_ARCH=i686 LIBDIRSUFFIX="" -elif [ "$ARCH" = "x64" ]; then - LIB_ARCH=amd64 +elif [ "$ARCH" = "x86_64" ]; then + ZULU_ARCH=x64 LIBDIRSUFFIX="64" else echo "Architecture ${ARCH} is not supported." exit 1 fi -SRCNAM=zulu${ZULUVERSION}-ca-jdk${VERSION}-linux_$ARCH +SRCNAM=zulu${ZULUVERSION}-ca-jdk${VERSION}-linux_$ZULU_ARCH set -e |