# HG changeset patch # User Rohit Joshi # Date 1267096638 0 # Node ID a672e2117e22664c8b260f75d5eb1cf3c26fec70 # Parent 2a50b17a96b8758d6db3651d9dab1843882efa08 fix: RAM for get-google-earth; Add TAGS diff -r 2a50b17a96b8 -r a672e2117e22 get-google-earth/receipt --- a/get-google-earth/receipt Thu Feb 25 11:12:47 2010 +0000 +++ b/get-google-earth/receipt Thu Feb 25 11:17:18 2010 +0000 @@ -6,6 +6,7 @@ SHORT_DESC="Get Google Earth." MAINTAINER="pascal.bellard@slitaz.org" WEB_SITE="http://earth.google.com/" +TAGS="map visualization" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() diff -r 2a50b17a96b8 -r a672e2117e22 get-google-earth/stuff/get-google-earth --- a/get-google-earth/stuff/get-google-earth Thu Feb 25 11:12:47 2010 +0000 +++ b/get-google-earth/stuff/get-google-earth Thu Feb 25 11:17:18 2010 +0000 @@ -2,6 +2,7 @@ DEPENDS="mesa" ROOT="$1" +PACKAGE="google-earth" if test $(id -u) != 0 ; then echo -e "\nYou must be root to run `basename $0`." @@ -41,6 +42,9 @@ # Extract ./GoogleEarthLinux.bin +# extracted pkg can be removed: Save RAM +rm -rf GoogleEarthLinux.bin + # Create pseudo package while read file; do dest=google-earth-$VERSION/fs$(dirname $file) @@ -62,7 +66,10 @@ EOT # Pack -tazpkg pack google-earth-$VERSION +tazpkg pack $PACKAGE-$VERSION + +# Clean to save RAM memory +rm -rf $PACKAGE-$VERSION # Install pseudo package tazpkg install google-earth-$VERSION.tazpkg --root=$ROOT