wok-current rev 6528
Add iron-linux
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Oct 03 21:02:12 2010 +0000 (2010-10-03) |
parents | 15ac6124bf79 |
children | 45503bb2f76d 3453431bc9f9 |
files | iron-linux/receipt iron-linux/stuff/usr/share/applications/iron-linux.desktop |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/iron-linux/receipt Sun Oct 03 21:02:12 2010 +0000 1.3 @@ -0,0 +1,36 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="iron-linux" 1.7 +VERSION="5.0.381" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Secure web browser (Chromium source)." 1.10 +MAINTAINER="paul@slitaz.org" 1.11 +DEPENDS="nss-dev libfirefox GConf" # may need updating? 1.12 +TARBALL="$PACKAGE.tar.gz" 1.13 +WEB_SITE="http://www.srware.net/en/software_srware_iron.php" 1.14 +WGET_URL="http://www.srware.net/downloads/$TARBALL" 1.15 + 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 + cp -a $PACKAGE $fs/usr/lib 1.21 + # Desktop file 1.22 + cp -a stuff/* $fs 1.23 +} 1.24 + 1.25 +# Create a link to /usr/bin/iron and copy png. 1.26 +post_install() 1.27 +{ 1.28 + cp -a $1/usr/lib/iron-linux/product_logo_48.png $1/usr/share/pixmaps/iron.png 1.29 + ln -s $1/usr/lib/iron-linux/iron $1/usr/bin/iron 1.30 +} 1.31 + 1.32 +# Remove link and png. 1.33 +post_remove() 1.34 +{ 1.35 + rm -f $1/usr/bin/iron 1.36 + rm -f $1/usr/share/pixmaps/iron.png 1.37 +} 1.38 + 1.39 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/iron-linux/stuff/usr/share/applications/iron-linux.desktop Sun Oct 03 21:02:12 2010 +0000 2.3 @@ -0,0 +1,10 @@ 2.4 +[Desktop Entry] 2.5 +Version=1.0 2.6 +Encoding=UTF-8 2.7 +Name=Iron Web Browser 2.8 +Exec=iron 2.9 +Terminal=false 2.10 +Icon=iron.png 2.11 +Type=Application 2.12 +Categories=Application;Network;WebBrowser; 2.13 +MimeType=text/html;text/xml;application/xhtml_xml;