From 50b183f7f3bb29f6f21c645cec911736a9bf2c32 Mon Sep 17 00:00:00 2001 From: Strahil Yordanov Date: Wed, 21 Jan 2015 06:51:07 +0700 Subject: development/openjdk: Updated for version 7u71b14. Signed-off-by: Willy Sudiarto Raharjo --- development/openjdk/openjdk.SlackBuild | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'development/openjdk/openjdk.SlackBuild') diff --git a/development/openjdk/openjdk.SlackBuild b/development/openjdk/openjdk.SlackBuild index e67dfd556e..168a7b69fb 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} -- cgit v1.2.3