wok rev 4993

fix: RAM for some get-* pkgs; Add TAGS
author Rohit Joshi <jozee@slitaz.org>
date Thu Feb 25 11:36:19 2010 +0000 (2010-02-25)
parents 5037bae2bae0
children 007b91d3da0b
files get-linuxqq/receipt get-linuxqq/stuff/get-linuxqq get-rar/receipt get-rar/stuff/get-rar get-realplayer/receipt get-realplayer/stuff/get-realplayer
line diff
     1.1 --- a/get-linuxqq/receipt	Thu Feb 25 11:24:45 2010 +0000
     1.2 +++ b/get-linuxqq/receipt	Thu Feb 25 11:36:19 2010 +0000
     1.3 @@ -6,6 +6,7 @@
     1.4  SHORT_DESC="Instant messaging software from Tencent Inc."
     1.5  MAINTAINER="lufeng369@gmail.com"
     1.6  WEB_SITE="http://im.qq.com/"
     1.7 +TAGS="im instant-messaging"
     1.8  
     1.9  genpkg_rules()
    1.10  {
     2.1 --- a/get-linuxqq/stuff/get-linuxqq	Thu Feb 25 11:24:45 2010 +0000
     2.2 +++ b/get-linuxqq/stuff/get-linuxqq	Thu Feb 25 11:36:19 2010 +0000
     2.3 @@ -40,6 +40,9 @@
     2.4  mkdir -p $PACKAGE-$VERSION/fs
     2.5  mv $TEMP_DIR/usr $PACKAGE-$VERSION/fs
     2.6  
     2.7 +# extracted pkg can be removed: Save RAM
     2.8 +rm -rf $RPMPKG
     2.9 +
    2.10  cd $TEMP_DIR
    2.11  
    2.12  cat > $PACKAGE-$VERSION/receipt << EOT
    2.13 @@ -54,6 +57,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  
     3.1 --- a/get-rar/receipt	Thu Feb 25 11:24:45 2010 +0000
     3.2 +++ b/get-rar/receipt	Thu Feb 25 11:36:19 2010 +0000
     3.3 @@ -6,6 +6,7 @@
     3.4  SHORT_DESC="Get RAR packer."
     3.5  MAINTAINER="pascal.bellard@slitaz.org"
     3.6  WEB_SITE="http://www.rarlab.com/"
     3.7 +TAGS="compression archive"
     3.8  
     3.9  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.10  genpkg_rules()
     4.1 --- a/get-rar/stuff/get-rar	Thu Feb 25 11:24:45 2010 +0000
     4.2 +++ b/get-rar/stuff/get-rar	Thu Feb 25 11:36:19 2010 +0000
     4.3 @@ -44,6 +44,9 @@
     4.4  mkdir -p $dir
     4.5  mv rar*/rar rar*/unrar $dir
     4.6  
     4.7 +# extracted pkg can be removed: Save RAM
     4.8 +rm -f $TARBALL
     4.9 +
    4.10  # Create pseudo package
    4.11  cat > $PACKAGE-$VERSION/receipt <<EOT
    4.12  PACKAGE="$PACKAGE"
    4.13 @@ -56,6 +59,9 @@
    4.14  # Pack
    4.15  tazpkg pack $PACKAGE-$VERSION
    4.16  
    4.17 +# Clean to save RAM memory
    4.18 +rm -rf $PACKAGE-$VERSION
    4.19 +
    4.20  # Install pseudo package
    4.21  tazpkg install $PACKAGE-$VERSION.tazpkg --root=$ROOT
    4.22  cd $BASE
     5.1 --- a/get-realplayer/receipt	Thu Feb 25 11:24:45 2010 +0000
     5.2 +++ b/get-realplayer/receipt	Thu Feb 25 11:36:19 2010 +0000
     5.3 @@ -7,6 +7,7 @@
     5.4  MAINTAINER="paul@slitaz.org"
     5.5  WEB_SITE="http://www.real.com"
     5.6  DEPENDS="firefox tar bash"
     5.7 +TAGS="music audio sound player"
     5.8  
     5.9  # Rules to gen a SliTaz package suitable for Tazpkg.
    5.10  genpkg_rules()
     6.1 --- a/get-realplayer/stuff/get-realplayer	Thu Feb 25 11:24:45 2010 +0000
     6.2 +++ b/get-realplayer/stuff/get-realplayer	Thu Feb 25 11:36:19 2010 +0000
     6.3 @@ -75,9 +75,16 @@
     6.4  
     6.5  cd ..
     6.6  
     6.7 +# extracted pkg can be removed: Save RAM before packing
     6.8 +rm -rf $TARBALL
     6.9 +
    6.10  # Pack
    6.11  tazpkg pack $PACKAGE-$VERSION
    6.12  
    6.13 +# Clean to save RAM memory
    6.14 +rm -rf $PACKAGE-$VERSION
    6.15 +
    6.16 +
    6.17  # Install pseudo package
    6.18  yes y | tazpkg install $PACKAGE-$VERSION.tazpkg --root=$ROOT
    6.19