diff options
-rw-r--r-- | development/zulu-openjdk17/zulu-openjdk17.SlackBuild | 25 | ||||
-rw-r--r-- | development/zulu-openjdk17/zulu-openjdk17.info | 10 |
2 files changed, 18 insertions, 17 deletions
diff --git a/development/zulu-openjdk17/zulu-openjdk17.SlackBuild b/development/zulu-openjdk17/zulu-openjdk17.SlackBuild index 25b8a7ce065c2..a3600673dbf18 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 diff --git a/development/zulu-openjdk17/zulu-openjdk17.info b/development/zulu-openjdk17/zulu-openjdk17.info index 8c7cabd8f0c85..a54e490bb19ac 100644 --- a/development/zulu-openjdk17/zulu-openjdk17.info +++ b/development/zulu-openjdk17/zulu-openjdk17.info @@ -1,10 +1,10 @@ PRGNAM="zulu-openjdk17" -VERSION="17.0.1" +VERSION="17.0.2" HOMEPAGE="https://www.azul.com/downloads/" -DOWNLOAD="https://cdn.azul.com/zulu/bin/zulu17.30.15-ca-jdk17.0.1-linux_i686.tar.gz" -MD5SUM="7728efbf5d9ec37bfc4aee8cf314e471" -DOWNLOAD_x86_64="https://cdn.azul.com/zulu/bin/zulu17.30.15-ca-jdk17.0.1-linux_x64.tar.gz" -MD5SUM_x86_64="d78f39ec5fe9433f339e6dc920613635" +DOWNLOAD="https://cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-linux_i686.tar.gz" +MD5SUM="7d0f12884ce51289cb4520e2abb7afd3" +DOWNLOAD_x86_64="https://cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-linux_x64.tar.gz" +MD5SUM_x86_64="159fc999c02b9cf3e78028f769981c72" REQUIRES="" MAINTAINER="Sébastien Ballet" EMAIL="slacker6896@gmail.com" |