wok-stable diff iron-linux/receipt @ rev 12005

iron: fixed icon, added description
author Samuel Trassare <samuel_trassare@yahoo.com>
date Mon Mar 05 10:38:40 2012 -0800 (2012-03-05)
parents 226e35b1edfc
children b078be2cace4
line diff
     1.1 --- a/iron-linux/receipt	Mon Jan 23 19:52:09 2012 +0000
     1.2 +++ b/iron-linux/receipt	Mon Mar 05 10:38:40 2012 -0800
     1.3 @@ -3,9 +3,9 @@
     1.4  PACKAGE="iron-linux"
     1.5  VERSION="16.0.950.0"
     1.6  CATEGORY="network"
     1.7 -SHORT_DESC="Secure web browser (Chromium source)."
     1.8 +SHORT_DESC="A secure web browser based on Chromium."
     1.9  MAINTAINER="paul@slitaz.org"
    1.10 -DEPENDS="nss-dev libfirefox GConf cups libjpeg62 libffi" # may need updating?
    1.11 +DEPENDS="nss libfirefox GConf cups libjpeg62 libffi" # may need updating?
    1.12  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13  WEB_SITE="http://www.srware.net/en/software_srware_iron.php"
    1.14  WGET_URL="http://www.srware.net/downloads/$PACKAGE.tar.gz"
    1.15 @@ -20,23 +20,21 @@
    1.16  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.17  genpkg_rules()
    1.18  {
    1.19 -	mkdir -p $fs/usr/lib
    1.20 +	mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
    1.21  	cp -a $_pkg/$PACKAGE $fs/usr/lib
    1.22 -	# Desktop file
    1.23 -	cp -a stuff/* $fs
    1.24 +	cp -a $fs/usr/lib/$PACKAGE/product_logo_48.png \
    1.25 +		$fs/usr/share/pixmaps/iron.png
    1.26  }
    1.27  
    1.28 -# Create a link to /usr/bin/iron and copy png.
    1.29 +# Create a link to /usr/bin/iron.
    1.30  post_install()
    1.31  {
    1.32 -	cp -a $1/usr/lib/iron-linux/product_logo_48.png $1/usr/share/pixmaps/iron.png
    1.33  	ln -s $1/usr/lib/iron-linux/iron $1/usr/bin/iron
    1.34  }
    1.35  
    1.36 -# Remove link and png.
    1.37 +# Remove link.
    1.38  post_remove()
    1.39  {
    1.40 -	rm -f $1/usr/bin/iron
    1.41 -	rm -f $1/usr/share/pixmaps/iron.png
    1.42 +	rm /usr/bin/iron
    1.43  }
    1.44