# HG changeset patch # User Rohit Joshi # Date 1267096927 0 # Node ID 056125d04927846cf56a7d5419ab4d62970c1d2c # Parent 6a80bcb8368d1813dde7ce23f91b834fd45113b0 fix: RAM for get-java6-jre; Add TAGS diff -r 6a80bcb8368d -r 056125d04927 get-java6-jre/receipt --- a/get-java6-jre/receipt Thu Feb 25 11:20:40 2010 +0000 +++ b/get-java6-jre/receipt Thu Feb 25 11:22:07 2010 +0000 @@ -7,6 +7,7 @@ MAINTAINER="erjo@slitaz.org" DEPENDS="xorg-libXtst" WEB_SITE="http://www.java.com" +TAGS="java" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() diff -r 6a80bcb8368d -r 056125d04927 get-java6-jre/stuff/get-java6-jre --- a/get-java6-jre/stuff/get-java6-jre Thu Feb 25 11:20:40 2010 +0000 +++ b/get-java6-jre/stuff/get-java6-jre Thu Feb 25 11:22:07 2010 +0000 @@ -53,6 +53,8 @@ mkdir -p $PACKAGE-$VERSION/fs/usr/lib/java cp -a jre${VERSION} $PACKAGE-$VERSION/fs/usr/lib/java +# extracted pkg can be removed: Save RAM +rm -rf $TARBALL #delete unecessary files rm -rf $PACKAGE-$VERSION/fs/usr/lib/java/jre${VERSION}/man @@ -90,6 +92,9 @@ # Pack tazpkg pack $PACKAGE-$VERSION +# Clean to save RAM memory +rm -rf $PACKAGE-$VERSION + # Install pseudo package tazpkg install $PACKAGE-$VERSION.tazpkg --root=$ROOT