wok diff iron-linux/receipt @ rev 7162
Up: glew to 1.5.7.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Nov 07 02:25:09 2010 +0000 (2010-11-07) |
parents | |
children | 508be66aa009 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/iron-linux/receipt Sun Nov 07 02:25:09 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 +