wok-next view iron-linux/receipt @ rev 16539

Up: slitaz-arm-adm (0.6)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 28 23:41:11 2014 +0200 (2014-04-28)
parents f2d80ef4da0f
children 73475c2f4329
line source
1 # SliTaz package receipt.
3 PACKAGE="iron-linux"
4 VERSION="24.0.1350.0"
5 CATEGORY="network"
6 SHORT_DESC="A secure web browser based on Chromium."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.srware.net/en/software_srware_iron.php"
11 WGET_URL="http://www.srware.net/downloads/$PACKAGE.tar.gz"
13 DEPENDS="nss libfirefox GConf cups libjpeg62 libffi" # may need updating?
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 mkdir -p $DESTDIR
19 cp -a $src $DESTDIR/$PACKAGE
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
26 cp -a $install/$PACKAGE $fs/usr/lib
27 cp -a $fs/usr/lib/$PACKAGE/product_logo_48.png \
28 $fs/usr/share/pixmaps/iron.png
29 }
31 # Create a link to /usr/bin/iron.
32 post_install()
33 {
34 ln -s $1/usr/lib/iron-linux/iron $1/usr/bin/iron
35 }
37 # Remove link.
38 post_remove()
39 {
40 rm $1/usr/bin/iron
41 }