summaryrefslogtreecommitdiffstats
path: root/icedtea-web
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2012-10-06 15:28:32 +0000
committer Eric Hameleers <alien@slackware.com>2012-10-06 15:28:32 +0000
commit2e0ca58469912ca0cfb86627d286f1d1347e9133 (patch)
tree93f0fb390bc61c19e1ebf09c7f68d90c150d948b /icedtea-web
parentd2e98b3e177441ff358748740017796581e9324e (diff)
downloadasb-2e0ca58469912ca0cfb86627d286f1d1347e9133.tar.gz
asb-2e0ca58469912ca0cfb86627d286f1d1347e9133.tar.xz
Make javaws and itweb-settings work again
Diffstat (limited to 'icedtea-web')
-rwxr-xr-xicedtea-web/build/icedtea-web.SlackBuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/icedtea-web/build/icedtea-web.SlackBuild b/icedtea-web/build/icedtea-web.SlackBuild
index bbbb3aa7..179bfc28 100755
--- a/icedtea-web/build/icedtea-web.SlackBuild
+++ b/icedtea-web/build/icedtea-web.SlackBuild
@@ -22,8 +22,9 @@
PKGNAM=icedtea-web
VERSION=1.3
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
NUMJOBS=${NUMJOBS:--j6}
+TAG=${TAG:-"alien"}
CWD=$(pwd)
TMP=${TMP:-/tmp}
@@ -101,10 +102,6 @@ LDFLAGS="$SLKLDFLAGS" \
make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1
-# Make the tools work with only the openjre installed:
-sed -i -e "s,java/jre/bin,java/bin,g" $PKG/usr/bin/javaws
-sed -i -e "s,java/jre/bin,java/bin,g" $PKG/usr/bin/itweb-settings
-
# Provide a link to the plugin for browsers:
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/mozilla/plugins
( cd $PKG/usr/lib${LIBDIRSUFFIX}/mozilla/plugins
@@ -139,5 +136,5 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $TMP/$PKGNAM-$(echo $VERSION |tr - _)-$ARCH-$BUILD.txz
+/sbin/makepkg -l y -c n $TMP/$PKGNAM-$(echo $VERSION |tr - _)-$ARCH-$BUILD${TAG}.txz