mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
development/zulu-openjdk17: Updated for version 17.0.2.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
1612ec1700
commit
062c44615d
2 changed files with 18 additions and 17 deletions
|
@ -25,18 +25,19 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=zulu-openjdk17
|
||||
VERSION=${VERSION:-17.0.1}
|
||||
ZULUVERSION=${ZULUVERSION:-17.30.15}
|
||||
VERSION=${VERSION:-17.0.2}
|
||||
ZULUVERSION=${ZULUVERSION:-17.32.13}
|
||||
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
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="zulu-openjdk17"
|
||||
VERSION="17.0.1"
|
||||
VERSION="17.0.2"
|
||||
HOMEPAGE="https://www.azul.com/downloads/"
|
||||
DOWNLOAD="https://cdn.azul.com/zulu/bin/zulu17.30.15-ca-jdk17.0.1-linux_i686.tar.gz"
|
||||
MD5SUM="7728efbf5d9ec37bfc4aee8cf314e471"
|
||||
DOWNLOAD_x86_64="https://cdn.azul.com/zulu/bin/zulu17.30.15-ca-jdk17.0.1-linux_x64.tar.gz"
|
||||
MD5SUM_x86_64="d78f39ec5fe9433f339e6dc920613635"
|
||||
DOWNLOAD="https://cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-linux_i686.tar.gz"
|
||||
MD5SUM="7d0f12884ce51289cb4520e2abb7afd3"
|
||||
DOWNLOAD_x86_64="https://cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-linux_x64.tar.gz"
|
||||
MD5SUM_x86_64="159fc999c02b9cf3e78028f769981c72"
|
||||
REQUIRES=""
|
||||
MAINTAINER="Sébastien Ballet"
|
||||
EMAIL="slacker6896@gmail.com"
|
||||
|
|
Loading…
Reference in a new issue