wok-current annotate iron-linux/receipt @ rev 18444

Add stfl
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 26 14:04:09 2015 +0200 (2015-09-26)
parents 73475c2f4329
children 9e01bc6321ea
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"
al@17501 12 TAGS="web-browser"
paul@6528 13
psychomaniak@16952 14 DEPENDS="nss libfirefox GConf libcups libjpeg62 libffi" # may need updating?
pascal@15600 15
pascal@9036 16 # Rules to configure and make the package.
pascal@9036 17 compile_rules()
pascal@9036 18 {
pascal@9037 19 mkdir -p $DESTDIR
pascal@9036 20 cp -a $src $DESTDIR/$PACKAGE
pascal@9036 21 }
pascal@9036 22
paul@6528 23 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@6528 24 genpkg_rules()
paul@6528 25 {
samuel_trassare@12005 26 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
paul@13385 27 cp -a $install/$PACKAGE $fs/usr/lib
samuel_trassare@12005 28 cp -a $fs/usr/lib/$PACKAGE/product_logo_48.png \
samuel_trassare@12005 29 $fs/usr/share/pixmaps/iron.png
paul@6528 30 }
paul@6528 31
samuel_trassare@12005 32 # Create a link to /usr/bin/iron.
paul@6528 33 post_install()
paul@6528 34 {
paul@6528 35 ln -s $1/usr/lib/iron-linux/iron $1/usr/bin/iron
paul@6528 36 }
paul@6528 37
samuel_trassare@12005 38 # Remove link.
paul@6528 39 post_remove()
paul@6528 40 {
paul@13385 41 rm $1/usr/bin/iron
paul@6528 42 }
paul@6528 43