aboutsummaryrefslogtreecommitdiff
path: root/development/openjdk/openjdk.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/openjdk/openjdk.SlackBuild')
-rw-r--r--development/openjdk/openjdk.SlackBuild19
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}