aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorGustavo B. Schenkel <gustavo.schenkel@gmail.com>2021-08-19 02:40:55 -0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-11-06 09:58:32 +0700
commit7ad48d846f725695901edc1bebf4f460436fc101 (patch)
tree47bdc80e2896421607e45cace70fc588697bf1e2 /development
parentf6b30657058c64e446da8e02039bd9344d0ea0a7 (diff)
development/zulu-openjdk7: Updated for version 7.0.322
Signed-off-by: Gustavo Brondani Schenkel <gustavo.schenkel@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/zulu-openjdk7/zulu-openjdk7.SlackBuild30
-rw-r--r--development/zulu-openjdk7/zulu-openjdk7.info12
2 files changed, 20 insertions, 22 deletions
diff --git a/development/zulu-openjdk7/zulu-openjdk7.SlackBuild b/development/zulu-openjdk7/zulu-openjdk7.SlackBuild
index 52b971551442..d61f156c88f8 100644
--- a/development/zulu-openjdk7/zulu-openjdk7.SlackBuild
+++ b/development/zulu-openjdk7/zulu-openjdk7.SlackBuild
@@ -25,26 +25,19 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=zulu-openjdk7
-VERSION=${VERSION:-7.0.242}
-ZULUVERSION=${ZULUVERSION:-7.34.0.5}
+VERSION=${VERSION:-7.0.322}
+ZULUVERSION=${ZULUVERSION:-7.50.0.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-# The name of azul's zulu openjdk source archive has the syntax below :
-#
-# zulu<ZULU_VERSION>-jdk<JDK_VERSION>-linux_x64
-#
-# Note: The archive's name is also the name of the top directory found
-# in this archive.
-#
-SRCNAM="zulu${ZULUVERSION}-ca-jdk${VERSION}-linux_x64"
-
-ARCH=${ARCH:-$(uname -m)}
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i686 ;;
+ x86_64) ARCH=x64 ;;
+ esac
+fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -54,7 +47,10 @@ TMP=${TMP:-/tmp/SBo}
PKG=${TMP}/package-${PRGNAM}
OUTPUT=${OUTPUT:-/tmp}
-if [ "${ARCH}" = "x86_64" ] ; then
+if [ "$ARCH" = "i686" ]; then
+ LIB_ARCH=i686
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x64" ]; then
LIB_ARCH=amd64
LIBDIRSUFFIX="64"
else
@@ -62,6 +58,8 @@ else
exit 1
fi
+SRCNAM=zulu${ZULUVERSION}-ca-jdk${VERSION}-linux_$ARCH
+
set -e
rm -rf $PKG
diff --git a/development/zulu-openjdk7/zulu-openjdk7.info b/development/zulu-openjdk7/zulu-openjdk7.info
index e57c1a1f7b63..802572a6243e 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.242"
-HOMEPAGE="http://zulu.org"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="https://cdn.azul.com/zulu/bin/zulu7.34.0.5-ca-jdk7.0.242-linux_x64.tar.gz"
-MD5SUM_x86_64="1b527411fa48bf37666eeb80098b9ef1"
+VERSION="7.0.322"
+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"
REQUIRES=""
MAINTAINER="Sébastien Ballet"
EMAIL="slacker6896@gmail.com"