mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
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>
This commit is contained in:
parent
cd65fa336b
commit
0706779949
4 changed files with 20 additions and 16 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue