development/jdk16: Updated to version 16.0.1
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
7c5966795b
commit
92abc86525
|
@ -18,4 +18,4 @@ for Oracle Java SE to download this software
|
|||
https://www.oracle.com/java/technologies/javase-jdk16-downloads.html
|
||||
|
||||
After installation you will need to log out from the system and log in back
|
||||
for environment variables get updated.
|
||||
for environment variables get updated. Or just run "source /etc/profile"
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=jdk16
|
||||
VERSION=${VERSION:-16.0.0}
|
||||
VERSION=${VERSION:-16.0.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -49,25 +49,21 @@ fi
|
|||
LIBDIRSUFFIX=64
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $OUTPUT \
|
||||
$PKG/{install,etc/profile.d,usr/{bin,lib${LIBDIRSUFFIX},doc/$PRGNAM-$VERSION,man/man1}}
|
||||
|
||||
mkdir -p $TMP $OUTPUT $PKG/{install,etc/profile.d,usr/{bin,lib${LIBDIRSUFFIX},doc/$PRGNAM-$VERSION,man/man1}}
|
||||
cd $PKG/usr/lib${LIBDIRSUFFIX}
|
||||
tar -xvf $CWD/jdk-${VERSION%%.*}_linux*.tar.gz
|
||||
mv $(tar -tf $CWD/jdk-${VERSION%%.*}_linux*.tar.gz | head -1 | cut -d/ -f1) $PRGNAM-$VERSION
|
||||
|
||||
tar -xvf $CWD/jdk-${VERSION}_linux*.tar.gz
|
||||
mv $(tar -tf $CWD/jdk-${VERSION}_linux*.tar.gz | head -1 | cut -d/ -f1) $PRGNAM-$VERSION
|
||||
chown -R root:root $PRGNAM-$VERSION
|
||||
find -L $PRGNAM-$VERSION \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
-o -perm 511 \) -exec chmod 755 {} \; -o \
|
||||
-o -perm 511 \) -exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
find $PRGNAM-$VERSION -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
find $PRGNAM-$VERSION/man -type f -exec gzip -9q {} \; 2> /dev/null || true
|
||||
for i in $(find $PRGNAM-$VERSION/man -type l 2> /dev/null); do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
|
||||
(cd ../man/man1; find ../../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/man/man1 -type f -exec ln -s {} \;)
|
||||
|
||||
(cd ../bin; find ../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/bin -type f -exec ln -s {} \;)
|
||||
|
@ -78,6 +74,7 @@ ln -sf $PRGNAM-$VERSION/lib/libjava.so
|
|||
ln -sf $PRGNAM-$VERSION/lib/libawt.so
|
||||
ln -sf $PRGNAM-$VERSION/lib/libawt_xawt.so
|
||||
ln -sf $PRGNAM-$VERSION/lib/libjli.so
|
||||
ln -sf $PRGNAM-$VERSION/lib/libverify.so
|
||||
|
||||
cd ../doc/$PRGNAM-$VERSION
|
||||
ln -s ../../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/legal
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="jdk16"
|
||||
VERSION="16.0.0"
|
||||
HOMEPAGE="https://www.oracle.com/technetwork/java/javase/downloads/index.html"
|
||||
VERSION="16.0.1"
|
||||
HOMEPAGE="https://developer.oracle.com/java"
|
||||
DOWNLOAD="UNSUPPORTED"
|
||||
MD5SUM=""
|
||||
DOWNLOAD_x86_64="https://download.oracle.com/otn-pub/java/jdk/16+36/7863447f0ab643c585b9bdebf67c69db/jdk-16_linux-x64_bin.tar.gz"
|
||||
MD5SUM_x86_64="c4432d1ace6a4af84b6b44e41dfd6879"
|
||||
DOWNLOAD_x86_64="https://download.oracle.com/otn-pub/java/jdk/16.0.1+9/7147401fd7354114ac51ef3e1328291f/jdk-16.0.1_linux-x64_bin.tar.gz"
|
||||
MD5SUM_x86_64="cffda8a3531e34e22ec9f9ba8d2ae60e"
|
||||
REQUIRES=""
|
||||
MAINTAINER="Igor Alexandrov"
|
||||
EMAIL="igor.alexandrov@outlook.com"
|
||||
|
|
Loading…
Reference in New Issue