wok annotate iron-linux/receipt @ rev 15413
Up: thunderbird-langpack-de (17.0.9esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Nov 03 21:52:33 2013 +0100 (2013-11-03) |
parents | 8f6acafcf637 |
children | de49f29b101e |
rev | line source |
---|---|
paul@6528 | 1 # SliTaz package receipt. |
paul@6528 | 2 |
paul@6528 | 3 PACKAGE="iron-linux" |
monghitri@14146 | 4 VERSION="24.0.1350.0" |
paul@6528 | 5 CATEGORY="network" |
samuel_trassare@12005 | 6 SHORT_DESC="A secure web browser based on Chromium." |
paul@6528 | 7 MAINTAINER="paul@slitaz.org" |
samuel_trassare@12005 | 8 DEPENDS="nss libfirefox GConf cups libjpeg62 libffi" # may need updating? |
slaxemulator@11257 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@6528 | 10 WEB_SITE="http://www.srware.net/en/software_srware_iron.php" |
slaxemulator@11257 | 11 WGET_URL="http://www.srware.net/downloads/$PACKAGE.tar.gz" |
paul@6528 | 12 |
pascal@9036 | 13 # Rules to configure and make the package. |
pascal@9036 | 14 compile_rules() |
pascal@9036 | 15 { |
pascal@9037 | 16 mkdir -p $DESTDIR |
pascal@9036 | 17 cp -a $src $DESTDIR/$PACKAGE |
pascal@9036 | 18 } |
pascal@9036 | 19 |
paul@6528 | 20 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@6528 | 21 genpkg_rules() |
paul@6528 | 22 { |
samuel_trassare@12005 | 23 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps |
paul@13385 | 24 cp -a $install/$PACKAGE $fs/usr/lib |
samuel_trassare@12005 | 25 cp -a $fs/usr/lib/$PACKAGE/product_logo_48.png \ |
samuel_trassare@12005 | 26 $fs/usr/share/pixmaps/iron.png |
paul@6528 | 27 } |
paul@6528 | 28 |
samuel_trassare@12005 | 29 # Create a link to /usr/bin/iron. |
paul@6528 | 30 post_install() |
paul@6528 | 31 { |
paul@6528 | 32 ln -s $1/usr/lib/iron-linux/iron $1/usr/bin/iron |
paul@6528 | 33 } |
paul@6528 | 34 |
samuel_trassare@12005 | 35 # Remove link. |
paul@6528 | 36 post_remove() |
paul@6528 | 37 { |
paul@13385 | 38 rm $1/usr/bin/iron |
paul@6528 | 39 } |
paul@6528 | 40 |