summaryrefslogtreecommitdiffstats
path: root/icedtea-web
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2012-01-15 22:55:50 +0000
committer Eric Hameleers <alien@slackware.com>2012-01-15 22:55:50 +0000
commitd280e1ba83913a23c3bcf8ff2a6f1049639c665f (patch)
tree2748d6d5a9ee5bc6d8c01709588089535420c8e2 /icedtea-web
parent7e9b2c101d7ce285ee989c05ca188a77fc4a8345 (diff)
downloadasb-d280e1ba83913a23c3bcf8ff2a6f1049639c665f.tar.gz
asb-d280e1ba83913a23c3bcf8ff2a6f1049639c665f.tar.xz
Make the tools work with only the openjre installed
Diffstat (limited to 'icedtea-web')
-rwxr-xr-xicedtea-web/build/icedtea-web.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/icedtea-web/build/icedtea-web.SlackBuild b/icedtea-web/build/icedtea-web.SlackBuild
index 73cb60fd..beaaf220 100755
--- a/icedtea-web/build/icedtea-web.SlackBuild
+++ b/icedtea-web/build/icedtea-web.SlackBuild
@@ -67,7 +67,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf $PKGNAM-$VERSION
-tar xvf $CWD/sources/$PKGNAM-$VERSION.tar.?z* || exit 1
+tar xvf $CWD/$PKGNAM-$VERSION.tar.?z* || exit 1
cd $PKGNAM-$VERSION || exit 1
# We use seamonkey, not xulrunner:
@@ -102,6 +102,10 @@ 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