wok rev 4990

fix: RAM for get-java6-jdk; Add TAGS
author Rohit Joshi <jozee@slitaz.org>
date Thu Feb 25 11:20:40 2010 +0000 (2010-02-25)
parents a672e2117e22
children 056125d04927
files get-java6-jdk/receipt get-java6-jdk/stuff/get-java6-jdk
line diff
     1.1 --- a/get-java6-jdk/receipt	Thu Feb 25 11:17:18 2010 +0000
     1.2 +++ b/get-java6-jdk/receipt	Thu Feb 25 11:20:40 2010 +0000
     1.3 @@ -7,6 +7,7 @@
     1.4  MAINTAINER="dasilvakevin@hotmail.fr"
     1.5  DEPENDS="xorg-libXtst"
     1.6  WEB_SITE="http://www.java.com"
     1.7 +TAGS="java"
     1.8  
     1.9  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.10  genpkg_rules()
     2.1 --- a/get-java6-jdk/stuff/get-java6-jdk	Thu Feb 25 11:17:18 2010 +0000
     2.2 +++ b/get-java6-jdk/stuff/get-java6-jdk	Thu Feb 25 11:20:40 2010 +0000
     2.3 @@ -53,12 +53,12 @@
     2.4  chmod +x  $TARBALL
     2.5  ./${TARBALL}
     2.6  
     2.7 -
     2.8 -
     2.9  # Make the package
    2.10  mkdir -p $PACKAGE-$VERSION/fs/usr/lib/java 
    2.11  cp -a jdk${VERSION} $PACKAGE-$VERSION/fs/usr/lib/java
    2.12  
    2.13 +# extracted pkg can be removed: Save RAM
    2.14 +rm -rf $TARBALL
    2.15  
    2.16  # Delete unecessary files
    2.17  rm -rf $PACKAGE-$VERSION/fs/usr/lib/java/jdk${VERSION}/man
    2.18 @@ -100,6 +100,9 @@
    2.19  # Pack
    2.20  tazpkg pack $PACKAGE-$VERSION
    2.21  
    2.22 +# Clean to save RAM memory
    2.23 +rm -rf $PACKAGE-$VERSION
    2.24 +
    2.25  # Install pseudo package
    2.26  tazpkg install $PACKAGE-$VERSION.tazpkg --root=$ROOT
    2.27