wok-next rev 4991
fix: RAM for get-java6-jre; Add TAGS
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Thu Feb 25 11:22:07 2010 +0000 (2010-02-25) |
parents | 6a80bcb8368d |
children | 5037bae2bae0 |
files | get-java6-jre/receipt get-java6-jre/stuff/get-java6-jre |
line diff
1.1 --- a/get-java6-jre/receipt Thu Feb 25 11:20:40 2010 +0000 1.2 +++ b/get-java6-jre/receipt Thu Feb 25 11:22:07 2010 +0000 1.3 @@ -7,6 +7,7 @@ 1.4 MAINTAINER="erjo@slitaz.org" 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-jre/stuff/get-java6-jre Thu Feb 25 11:20:40 2010 +0000 2.2 +++ b/get-java6-jre/stuff/get-java6-jre Thu Feb 25 11:22:07 2010 +0000 2.3 @@ -53,6 +53,8 @@ 2.4 mkdir -p $PACKAGE-$VERSION/fs/usr/lib/java 2.5 cp -a jre${VERSION} $PACKAGE-$VERSION/fs/usr/lib/java 2.6 2.7 +# extracted pkg can be removed: Save RAM 2.8 +rm -rf $TARBALL 2.9 2.10 #delete unecessary files 2.11 rm -rf $PACKAGE-$VERSION/fs/usr/lib/java/jre${VERSION}/man 2.12 @@ -90,6 +92,9 @@ 2.13 # Pack 2.14 tazpkg pack $PACKAGE-$VERSION 2.15 2.16 +# Clean to save RAM memory 2.17 +rm -rf $PACKAGE-$VERSION 2.18 + 2.19 # Install pseudo package 2.20 tazpkg install $PACKAGE-$VERSION.tazpkg --root=$ROOT 2.21