diff options
author | Strahil Yordanov <strahilski@yahoo.com> | 2015-01-21 06:51:07 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-01-21 06:51:07 +0700 |
commit | 50b183f7f3bb29f6f21c645cec911736a9bf2c32 (patch) | |
tree | 5e198d4def385aea1fb57d112b4062b3cbf94c89 /development/openjdk/openjdk.SlackBuild | |
parent | 238c6e355853bf89c0c1914e71c31ee5159f0801 (diff) |
development/openjdk: Updated for version 7u71b14.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/openjdk/openjdk.SlackBuild')
-rw-r--r-- | development/openjdk/openjdk.SlackBuild | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/development/openjdk/openjdk.SlackBuild b/development/openjdk/openjdk.SlackBuild index e67dfd556ef76..168a7b69fbccc 100644 --- a/development/openjdk/openjdk.SlackBuild +++ b/development/openjdk/openjdk.SlackBuild @@ -2,7 +2,7 @@ # Slackware build scripts for OpenJDK -# Copyright 2014 Strahil Yordanov, Sofia, Bulgaria +# Copyright 2015 Strahil Yordanov, Sofia, Bulgaria # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,12 +23,12 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=openjdk -VERSION=${VERSION:-7u60} +VERSION=${VERSION:-7u71b14} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} DVER=1.7.0_$(printf $VERSION | cut -du -f2) -ICEDTEA=icedtea-2.5.0 +ICEDTEA=icedtea-2.5.3 if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -58,8 +58,15 @@ rm -rf $BUILD_DIR $PKG mkdir -p $TMP $BUILD_DIR $PKG $OUTPUT cd $BUILD_DIR -tar -xvf $CWD/${ICEDTEA}.tar.xz +tar -xvf $CWD/${ICEDTEA}.tar.gz +cd $ICEDTEA +patch Makefile.am $CWD/Makefile.am.patch +cp $CWD/currencyexpire.patch ./patches +aclocal +autoconf + +cd .. mkdir icedtea-build cd icedtea-build @@ -120,5 +127,9 @@ cp -a $PKG/usr/lib${LIBDIRSUFFIX}/openjdk/{THIRD_PARTY_README,LICENSE,ASSEMBLY_E $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +mv $PKG/usr/lib${LIBDIRSUFFIX}/openjdk/man/ $PKG/usr +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |