diff options
-rwxr-xr-x | icedtea-web/build/icedtea-web.SlackBuild | 6 |
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 |