diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2022-07-23 08:05:22 +0900 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-07-23 11:13:17 +0700 |
commit | 0706779949794b70536767680f4c1b49a7a77dab (patch) | |
tree | e268ddf9f0160065a06135c6cc6bea22c5679aa3 /development | |
parent | cd65fa336b2e1f3a5be80e09fd7a21249a0fa89e (diff) | |
download | slackbuilds-0706779949794b70536767680f4c1b49a7a77dab.tar.gz |
development/zulu-openjdk11: Updated for version 11.0.16, new maint.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r-- | development/zulu-openjdk11/zulu-openjdk11.SlackBuild | 18 | ||||
-rw-r--r-- | development/zulu-openjdk11/zulu-openjdk11.csh | 2 | ||||
-rw-r--r-- | development/zulu-openjdk11/zulu-openjdk11.info | 14 | ||||
-rw-r--r-- | development/zulu-openjdk11/zulu-openjdk11.sh | 2 |
4 files changed, 20 insertions, 16 deletions
diff --git a/development/zulu-openjdk11/zulu-openjdk11.SlackBuild b/development/zulu-openjdk11/zulu-openjdk11.SlackBuild index 94290a8b64..c237b85df7 100644 --- a/development/zulu-openjdk11/zulu-openjdk11.SlackBuild +++ b/development/zulu-openjdk11/zulu-openjdk11.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for zulu-openjdk11 # Copyright (c) 2018, 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,9 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=zulu-openjdk11 -VERSION=${VERSION:-11.0.14.1} -ZULUVERSION=${ZULUVERSION:-11.54.25} +VERSION=${VERSION:-11.0.16} +ZULUVERSION64=${ZULUVERSION:-11.58.15} +ZULUVERSION32=${ZULUVERSION:-11.58.17} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -50,9 +52,11 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i686" ]; then ZULU_ARCH=i686 + ZULUVERSION=$ZULUVERSION32 LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then ZULU_ARCH=x64 + ZULUVERSION=$ZULUVERSION64 LIBDIRSUFFIX="64" else echo "Architecture ${ARCH} is not supported." @@ -66,8 +70,8 @@ set -e rm -rf ${PKG} mkdir -p ${TMP} ${PKG} ${OUTPUT} -mkdir -p ${PKG}/usr/lib64/ -cd ${PKG}/usr/lib64/ +mkdir -p ${PKG}/usr/lib$LIBDIRSUFFIX/ +cd ${PKG}/usr/lib$LIBDIRSUFFIX/ tar xvf ${CWD}/${SRCNAM}.tar.gz mv ${SRCNAM} ${PRGNAM} @@ -80,7 +84,7 @@ find -L . \ mkdir -p ${PKG}/etc/profile.d for SCRIPT in ${PRGNAM}.sh ${PRGNAM}.csh ; do - cat ${CWD}/${SCRIPT} > ${PKG}/etc/profile.d/${SCRIPT} + sed -e s/%LIBDIRSUFFIX%/$LIBDIRSUFFIX/g ${CWD}/${SCRIPT} > ${PKG}/etc/profile.d/${SCRIPT} chmod 755 ${PKG}/etc/profile.d/${SCRIPT} done @@ -88,10 +92,10 @@ mkdir -p ${PKG}/usr/doc/${PRGNAM}-${VERSION} # move folder demo/ in documentation directory # -mv ${PKG}/usr/lib64/${PRGNAM}/demo ${PKG}/usr/doc/${PRGNAM}-${VERSION} +mv ${PKG}/usr/lib$LIBDIRSUFFIX/${PRGNAM}/demo ${PKG}/usr/doc/${PRGNAM}-${VERSION} for CFILE in DISCLAIMER Welcome.html readme.txt ; do - mv ${PKG}/usr/lib64/${PRGNAM}/${CFILE} ${PKG}/usr/doc/${PRGNAM}-${VERSION} + mv ${PKG}/usr/lib$LIBDIRSUFFIX/${PRGNAM}/${CFILE} ${PKG}/usr/doc/${PRGNAM}-${VERSION} done cat ${CWD}/${PRGNAM}.SlackBuild > ${PKG}/usr/doc/${PRGNAM}-${VERSION}/${PRGNAM}.SlackBuild diff --git a/development/zulu-openjdk11/zulu-openjdk11.csh b/development/zulu-openjdk11/zulu-openjdk11.csh index a8bab21b57..7b40525746 100644 --- a/development/zulu-openjdk11/zulu-openjdk11.csh +++ b/development/zulu-openjdk11/zulu-openjdk11.csh @@ -1,5 +1,5 @@ #!/bin/csh -setenv JAVA_HOME /usr/lib64/zulu-openjdk11 +setenv JAVA_HOME /usr/lib%LIBDIRSUFFIX%/zulu-openjdk11 setenv MANPATH ${MANPATH}:${JAVA_HOME}/man setenv PATH ${PATH}:${JAVA_HOME}/bin setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${JAVA_HOME}/lib/server diff --git a/development/zulu-openjdk11/zulu-openjdk11.info b/development/zulu-openjdk11/zulu-openjdk11.info index 3a8725fd89..849b23a793 100644 --- a/development/zulu-openjdk11/zulu-openjdk11.info +++ b/development/zulu-openjdk11/zulu-openjdk11.info @@ -1,10 +1,10 @@ PRGNAM="zulu-openjdk11" -VERSION="11.0.14.1" +VERSION="11.0.16" HOMEPAGE="https://www.azul.com/downloads/" -DOWNLOAD="https://cdn.azul.com/zulu/bin/zulu11.54.25-ca-jdk11.0.14.1-linux_i686.tar.gz" -MD5SUM="cfc3dfaf76e82e21549b3008bffafecc" -DOWNLOAD_x86_64="https://cdn.azul.com/zulu/bin/zulu11.54.25-ca-jdk11.0.14.1-linux_x64.tar.gz" -MD5SUM_x86_64="e53fb58937cceb690ca1d810dbda49d1" +DOWNLOAD="https://cdn.azul.com/zulu/bin/zulu11.58.17-ca-jdk11.0.16-linux_i686.tar.gz" +MD5SUM="fd8c5ef8f86193c525abfc628f38b442" +DOWNLOAD_x86_64="https://cdn.azul.com/zulu/bin/zulu11.58.15-ca-jdk11.0.16-linux_x64.tar.gz" +MD5SUM_x86_64="0699c969a88c662c11a43eb5029a60b2" REQUIRES="" -MAINTAINER="Sébastien Ballet" -EMAIL="slacker6896@gmail.com" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/development/zulu-openjdk11/zulu-openjdk11.sh b/development/zulu-openjdk11/zulu-openjdk11.sh index 8b05a565fc..fa9e70c66d 100644 --- a/development/zulu-openjdk11/zulu-openjdk11.sh +++ b/development/zulu-openjdk11/zulu-openjdk11.sh @@ -1,5 +1,5 @@ #!/bin/sh -export JAVA_HOME=/usr/lib64/zulu-openjdk11 +export JAVA_HOME=/usr/lib%LIBDIRSUFFIX%/zulu-openjdk11 export MANPATH="${MANPATH}:${JAVA_HOME}/man" export PATH="${PATH}:${JAVA_HOME}/bin" export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${JAVA_HOME}/lib/server" |