diff --git a/development/zulu-openjdk7/zulu-openjdk7.SlackBuild b/development/zulu-openjdk7/zulu-openjdk7.SlackBuild index ede496b43b..2f25b702bf 100644 --- a/development/zulu-openjdk7/zulu-openjdk7.SlackBuild +++ b/development/zulu-openjdk7/zulu-openjdk7.SlackBuild @@ -25,18 +25,19 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=zulu-openjdk7 -VERSION=${VERSION:-7.0.322} -ZULUVERSION=${ZULUVERSION:-7.50.0.11} +VERSION=${VERSION:-7.0.332} +ZULUVERSION=${ZULUVERSION:-7.52.0.11} 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-openjdk7/zulu-openjdk7.info b/development/zulu-openjdk7/zulu-openjdk7.info index 802572a624..c43f03adb1 100644 --- a/development/zulu-openjdk7/zulu-openjdk7.info +++ b/development/zulu-openjdk7/zulu-openjdk7.info @@ -1,10 +1,10 @@ PRGNAM="zulu-openjdk7" -VERSION="7.0.322" +VERSION="7.0.332" HOMEPAGE="https://www.azul.com/downloads" -DOWNLOAD="https://cdn.azul.com/zulu/bin/zulu7.50.0.11-ca-jdk7.0.322-linux_i686.tar.gz" -MD5SUM="5ea03690b06119c3023df2aa73e512c7" -DOWNLOAD_x86_64="https://cdn.azul.com/zulu/bin/zulu7.50.0.11-ca-jdk7.0.322-linux_x64.tar.gz" -MD5SUM_x86_64="6116f8af12ba6c8a72ff4b5e45397a92" +DOWNLOAD="https://cdn.azul.com/zulu/bin/zulu7.52.0.11-ca-jdk7.0.332-linux_i686.tar.gz" +MD5SUM="b0e90ecef800523d70bba23b23b57e60" +DOWNLOAD_x86_64="https://cdn.azul.com/zulu/bin/zulu7.52.0.11-ca-jdk7.0.332-linux_x64.tar.gz" +MD5SUM_x86_64="eae1e3d55e58b971c9a363eda814d642" REQUIRES="" MAINTAINER="Sébastien Ballet" EMAIL="slacker6896@gmail.com"