wok-current annotate iron-linux/receipt @ rev 16964
Up tor (0.2.4.23)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 31 17:41:18 2014 +0200 (2014-07-31) |
parents | de49f29b101e |
children | 5d53e8ccbc8d |
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" |
pascal@15600 | 8 LICENSE="BSD" |
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 |
psychomaniak@16952 | 13 DEPENDS="nss libfirefox GConf libcups libjpeg62 libffi" # may need updating? |
pascal@15600 | 14 |
pascal@9036 | 15 # Rules to configure and make the package. |
pascal@9036 | 16 compile_rules() |
pascal@9036 | 17 { |
pascal@9037 | 18 mkdir -p $DESTDIR |
pascal@9036 | 19 cp -a $src $DESTDIR/$PACKAGE |
pascal@9036 | 20 } |
pascal@9036 | 21 |
paul@6528 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@6528 | 23 genpkg_rules() |
paul@6528 | 24 { |
samuel_trassare@12005 | 25 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps |
paul@13385 | 26 cp -a $install/$PACKAGE $fs/usr/lib |
samuel_trassare@12005 | 27 cp -a $fs/usr/lib/$PACKAGE/product_logo_48.png \ |
samuel_trassare@12005 | 28 $fs/usr/share/pixmaps/iron.png |
paul@6528 | 29 } |
paul@6528 | 30 |
samuel_trassare@12005 | 31 # Create a link to /usr/bin/iron. |
paul@6528 | 32 post_install() |
paul@6528 | 33 { |
paul@6528 | 34 ln -s $1/usr/lib/iron-linux/iron $1/usr/bin/iron |
paul@6528 | 35 } |
paul@6528 | 36 |
samuel_trassare@12005 | 37 # Remove link. |
paul@6528 | 38 post_remove() |
paul@6528 | 39 { |
paul@13385 | 40 rm $1/usr/bin/iron |
paul@6528 | 41 } |
paul@6528 | 42 |