wok annotate iron-linux/receipt @ rev 7354
iron-linux: update depends
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Mon Nov 22 19:14:30 2010 +0000 (2010-11-22) |
parents | 508be66aa009 |
children | f81e47267992 |
rev | line source |
---|---|
paul@6528 | 1 # SliTaz package receipt. |
paul@6528 | 2 |
paul@6528 | 3 PACKAGE="iron-linux" |
paul@7231 | 4 VERSION="7.0.520.0" |
paul@6528 | 5 CATEGORY="network" |
paul@6528 | 6 SHORT_DESC="Secure web browser (Chromium source)." |
paul@6528 | 7 MAINTAINER="paul@slitaz.org" |
paul@7354 | 8 DEPENDS="nss-dev libfirefox GConf cups libjpeg62" # may need updating? |
paul@6528 | 9 TARBALL="$PACKAGE.tar.gz" |
paul@6528 | 10 WEB_SITE="http://www.srware.net/en/software_srware_iron.php" |
paul@6528 | 11 WGET_URL="http://www.srware.net/downloads/$TARBALL" |
paul@6528 | 12 |
paul@6528 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@6528 | 14 genpkg_rules() |
paul@6528 | 15 { |
paul@6528 | 16 mkdir -p $fs/usr/lib |
paul@6528 | 17 cp -a $PACKAGE $fs/usr/lib |
paul@6528 | 18 # Desktop file |
paul@6528 | 19 cp -a stuff/* $fs |
paul@6528 | 20 } |
paul@6528 | 21 |
paul@6528 | 22 # Create a link to /usr/bin/iron and copy png. |
paul@6528 | 23 post_install() |
paul@6528 | 24 { |
paul@6528 | 25 cp -a $1/usr/lib/iron-linux/product_logo_48.png $1/usr/share/pixmaps/iron.png |
paul@6528 | 26 ln -s $1/usr/lib/iron-linux/iron $1/usr/bin/iron |
paul@6528 | 27 } |
paul@6528 | 28 |
paul@6528 | 29 # Remove link and png. |
paul@6528 | 30 post_remove() |
paul@6528 | 31 { |
paul@6528 | 32 rm -f $1/usr/bin/iron |
paul@6528 | 33 rm -f $1/usr/share/pixmaps/iron.png |
paul@6528 | 34 } |
paul@6528 | 35 |