diff options
-rw-r--r-- | development/zulu-openjdk8/zulu-openjdk8.SlackBuild | 25 | ||||
-rw-r--r-- | development/zulu-openjdk8/zulu-openjdk8.info | 10 |
2 files changed, 18 insertions, 17 deletions
diff --git a/development/zulu-openjdk8/zulu-openjdk8.SlackBuild b/development/zulu-openjdk8/zulu-openjdk8.SlackBuild index c02a1675ff98..b33063288b98 100644 --- a/development/zulu-openjdk8/zulu-openjdk8.SlackBuild +++ b/development/zulu-openjdk8/zulu-openjdk8.SlackBuild @@ -25,18 +25,19 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=zulu-openjdk8 -VERSION=${VERSION:-8.0.312} -ZULUVERSION=${ZULUVERSION:-8.58.0.13} +VERSION=${VERSION:-8.0.322} +ZULUVERSION=${ZULUVERSION:-8.60.0.21} 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-openjdk8/zulu-openjdk8.info b/development/zulu-openjdk8/zulu-openjdk8.info index 2d7b17465413..a444865ea636 100644 --- a/development/zulu-openjdk8/zulu-openjdk8.info +++ b/development/zulu-openjdk8/zulu-openjdk8.info @@ -1,10 +1,10 @@ PRGNAM="zulu-openjdk8" -VERSION="8.0.312" +VERSION="8.0.322" HOMEPAGE="https://www.azul.com/download" -DOWNLOAD="https://cdn.azul.com/zulu/bin/zulu8.58.0.13-ca-jdk8.0.312-linux_i686.tar.gz" -MD5SUM="f159e209bfea659582ee5c66d46e5a78" -DOWNLOAD_x86_64="https://cdn.azul.com/zulu/bin/zulu8.58.0.13-ca-jdk8.0.312-linux_x64.tar.gz" -MD5SUM_x86_64="db82cf071e9bb6943e76761a93079f36" +DOWNLOAD="https://cdn.azul.com/zulu/bin/zulu8.60.0.21-ca-jdk8.0.322-linux_i686.tar.gz" +MD5SUM="1af912ee6a356b370d0b808a033e554d" +DOWNLOAD_x86_64="https://cdn.azul.com/zulu/bin/zulu8.60.0.21-ca-jdk8.0.322-linux_x64.tar.gz" +MD5SUM_x86_64="7afe7d36001d44b30be4270d2eab60c2" REQUIRES="" MAINTAINER="Sébastien Ballet" EMAIL="slacker6896@gmail.com" |