wok rev 13813

Update get-java6-jre (thanks ernia)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 06 11:17:43 2013 +0100 (2013-01-06)
parents 2e038363ee72
children b0b5a6802a27
files get-java6-jre/stuff/get-java6-jre
line diff
     1.1 --- a/get-java6-jre/stuff/get-java6-jre	Sun Jan 06 10:57:03 2013 +0100
     1.2 +++ b/get-java6-jre/stuff/get-java6-jre	Sun Jan 06 11:17:43 2013 +0100
     1.3 @@ -7,11 +7,13 @@
     1.4  
     1.5  PACKAGE="java6-jre"
     1.6  WEB_SITE="http://www.java.com/"
     1.7 -TARBALL="jre.tar.gz"
     1.8 +SHORT_DESC="SUN Java Runtime."
     1.9 +DEPENDS="xorg-libXtst"
    1.10 +TARBALL="jre.bin"
    1.11  TEMP_DIR="/tmp/$PACKAGE.$$"
    1.12  ROOT="$1"
    1.13  
    1.14 -URL="$(wget -O - ${WEB_SITE}en/download/manual.jsp | \
    1.15 +URL="$(wget -O - ${WEB_SITE}en/download/manual_v6.jsp | \
    1.16         sed '/self-extracting/!d;s/.*href="\([^"]*\).*/\1/;q')"
    1.17  
    1.18  # Check if we are root starting anything
    1.19 @@ -71,14 +73,14 @@
    1.20  PACKAGE="$PACKAGE"
    1.21  VERSION="$VERSION"
    1.22  CATEGORY="non-free"
    1.23 -SHORT_DESC="SUN Java Runtime."
    1.24 -DEPENDS="xorg-libXtst"
    1.25 +SHORT_DESC="$SHORT_DESC"
    1.26 +DEPENDS="$DEPENDS"
    1.27  WEB_SITE="$WEB_SITE"
    1.28  
    1.29  post_install()
    1.30  {
    1.31  	echo -n "Processing post install commands..."
    1.32 -	 [ -d /usr/lib/mozilla/plugins ] || mkdir -p /usr/lib/mozilla/plugins 
    1.33 +	[ -d /usr/lib/mozilla/plugins ] || mkdir -p /usr/lib/mozilla/plugins 
    1.34  	ln -s /usr/lib/java/jre\$VERSION/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins
    1.35  
    1.36  	cd /usr/bin