summaryrefslogtreecommitdiff
path: root/development/zulu-openjdk7/zulu-openjdk7.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-10-23 21:11:27 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-10-29 10:28:42 +0700
commit0838d0778a7ffa19d20691c488b2712a3da7a439 (patch)
treea437935777dc55b333a12af3180f5d85357acc0d /development/zulu-openjdk7/zulu-openjdk7.SlackBuild
parent694126ac7efd163658abfc6080fac9257a103852 (diff)
downloadslackbuilds-0838d0778a7ffa19d20691c488b2712a3da7a439.tar.gz
development/zulu-openjdk7: Updated for version 7.0.352, new maint.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/zulu-openjdk7/zulu-openjdk7.SlackBuild')
-rw-r--r--development/zulu-openjdk7/zulu-openjdk7.SlackBuild14
1 files changed, 9 insertions, 5 deletions
diff --git a/development/zulu-openjdk7/zulu-openjdk7.SlackBuild b/development/zulu-openjdk7/zulu-openjdk7.SlackBuild
index 2f25b702bf..7c9bdd5d76 100644
--- a/development/zulu-openjdk7/zulu-openjdk7.SlackBuild
+++ b/development/zulu-openjdk7/zulu-openjdk7.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for zulu-openjdk7
# Copyright (c) 2017-2019, Sébastien Ballet <slacker6896 at gmail.com>
+# Copyright (c) 2022, Andrew Clemons, Tokyo Japan
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,8 +26,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=zulu-openjdk7
-VERSION=${VERSION:-7.0.332}
-ZULUVERSION=${ZULUVERSION:-7.52.0.11}
+VERSION=${VERSION:-7.0.352}
+ZULUVERSION=${ZULUVERSION:-7.56.0.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -51,9 +52,11 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i686" ]; then
ZULU_ARCH=i686
LIBDIRSUFFIX=""
+ JVMLIBARCH="i386"
elif [ "$ARCH" = "x86_64" ]; then
ZULU_ARCH=x64
LIBDIRSUFFIX="64"
+ JVMLIBARCH="amd64"
else
echo "Architecture ${ARCH} is not supported."
exit 1
@@ -84,9 +87,10 @@ find -L . \
# or "no". Default to "yes"
#
if [ "${CREATE_LIBJVM_SYMLINK:-yes}" = "yes" ] ; then
- ln -sf \
- ${PRGNAM}/jre/lib/${LIB_ARCH}/server/libjvm.so \
- $PKG/usr/lib${LIBDIRSUFFIX}/libjvm.so
+ (
+ cd $PKG/usr/lib${LIBDIRSUFFIX}/
+ ln -sf $PRGNAM/jre/lib/${JVMLIBARCH}/server/libjvm.so
+ )
fi
mkdir -p ${PKG}/etc/profile.d