wok rev 4987

fix: RAM for get-foxit-reader; Add TAGS
author Rohit Joshi <jozee@slitaz.org>
date Thu Feb 25 10:48:00 2010 +0000 (2010-02-25)
parents 4e3fdb23a650
children 2a50b17a96b8
files get-eclipse-pdt/receipt get-foxit-reader/receipt get-foxit-reader/stuff/get-foxit-reader
line diff
     1.1 --- a/get-eclipse-pdt/receipt	Thu Feb 25 10:43:08 2010 +0000
     1.2 +++ b/get-eclipse-pdt/receipt	Thu Feb 25 10:48:00 2010 +0000
     1.3 @@ -6,6 +6,7 @@
     1.4  SHORT_DESC="Eclipse PHP Development Tools"
     1.5  MAINTAINER="erjo@slitaz.org"
     1.6  WEB_SITE="http://www.eclipse.org"
     1.7 +TAGS="ide development programming"
     1.8  
     1.9  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.10  genpkg_rules()
     2.1 --- a/get-foxit-reader/receipt	Thu Feb 25 10:43:08 2010 +0000
     2.2 +++ b/get-foxit-reader/receipt	Thu Feb 25 10:48:00 2010 +0000
     2.3 @@ -6,6 +6,7 @@
     2.4  SHORT_DESC="A free PDF document viewer for the Linux platform."
     2.5  MAINTAINER="rocky@slitaz.org"
     2.6  WEB_SITE="http://www.foxitsoftware.com/pdf/desklinux/"
     2.7 +TAGS="pdf viewer"
     2.8  
     2.9  genpkg_rules()
    2.10  {
     3.1 --- a/get-foxit-reader/stuff/get-foxit-reader	Thu Feb 25 10:43:08 2010 +0000
     3.2 +++ b/get-foxit-reader/stuff/get-foxit-reader	Thu Feb 25 10:48:00 2010 +0000
     3.3 @@ -37,6 +37,10 @@
     3.4  fi
     3.5  
     3.6  rpm2cpio $RPMPKG | cpio -dium
     3.7 +
     3.8 +# extracted pkg can be removed: Save RAM
     3.9 +rm -rf $RPMPKG
    3.10 +
    3.11  mkdir -p $PACKAGE-$VERSION/fs
    3.12  mv $TEMP_DIR/usr $PACKAGE-$VERSION/fs
    3.13  cd $PACKAGE-$VERSION/fs/usr/share/applications/ && mv fedora-Foxit-Reader.desktop Foxit-Reader.desktop
    3.14 @@ -55,6 +59,9 @@
    3.15  # Pack
    3.16  tazpkg pack $PACKAGE-$VERSION
    3.17  
    3.18 +# Clean to save RAM memory
    3.19 +rm -rf $PACKAGE-$VERSION
    3.20 +
    3.21  # Install pseudo package
    3.22  yes y | tazpkg install $PACKAGE-$VERSION.tazpkg --root=$ROOT
    3.23