wok-next rev 4988
fix: RAM for get-google-chrome; Add TAGS
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Thu Feb 25 11:12:47 2010 +0000 (2010-02-25) |
parents | 0feddf601f07 |
children | a672e2117e22 |
files | get-google-chrome/receipt get-google-chrome/stuff/get-google-chrome |
line diff
1.1 --- a/get-google-chrome/receipt Thu Feb 25 10:48:00 2010 +0000 1.2 +++ b/get-google-chrome/receipt Thu Feb 25 11:12:47 2010 +0000 1.3 @@ -6,6 +6,7 @@ 1.4 SHORT_DESC="Google Chrome is built with open source code from Chromium." 1.5 MAINTAINER="rocky@slitaz.org" 1.6 WEB_SITE="http://code.google.com/chromium/" 1.7 +TAGS="browser" 1.8 1.9 # Rules to gen a SliTaz package suitable for Tazpkg. 1.10 genpkg_rules()
2.1 --- a/get-google-chrome/stuff/get-google-chrome Thu Feb 25 10:48:00 2010 +0000 2.2 +++ b/get-google-chrome/stuff/get-google-chrome Thu Feb 25 11:12:47 2010 +0000 2.3 @@ -49,6 +49,9 @@ 2.4 tar xzf control.tar.gz ./control 2.5 VERSION=`sed -n 's/Version:\ *//p' control` 2.6 2.7 +# extracted pkg can be removed: Save RAM 2.8 +rm -rf $DEBPKG 2.9 + 2.10 mkdir -p $PACKAGE-$VERSION/fs 2.11 mv usr opt $PACKAGE-$VERSION/fs 2.12 mkdir -p $PACKAGE-$VERSION/fs/usr/share/applications/ 2.13 @@ -93,6 +96,9 @@ 2.14 # Pack 2.15 tazpkg pack $PACKAGE-$VERSION 2.16 2.17 +# Clean to save RAM memory 2.18 +rm -rf $PACKAGE-$VERSION 2.19 + 2.20 # Install pseudo package 2.21 yes y | tazpkg install $PACKAGE-$VERSION.tazpkg --root=$ROOT 2.22