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

Up emacs (2.53)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 25 11:21:45 2017 +0200 (2017-10-25)
parents 9e01bc6321ea
children dd145c435e4b
line source
1 # SliTaz package receipt.
3 PACKAGE="iron-linux"
4 VERSION="48.2550.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"
12 TAGS="chromium web-browser"
14 DEPENDS="bash nss libfirefox GConf libcups libjpeg62 libpng libffi x264" # may need updating?
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 mkdir -p $DESTDIR
20 cp -a $src $DESTDIR/$PACKAGE
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
27 cp -a $install/$PACKAGE $fs/usr/lib
28 cp -a $fs/usr/lib/$PACKAGE/product_logo_48.png \
29 $fs/usr/share/pixmaps/iron.png
30 }
32 # Create a link to /usr/bin/iron.
33 post_install()
34 {
35 ln -s /usr/lib/iron-linux/iron "$1/usr/bin/iron"
36 }
38 # Remove link.
39 post_remove()
40 {
41 rm "$1/usr/bin/iron"
42 }