wok-next view iron-linux/receipt @ rev 16693
slitaz-icon: workaround tarball
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 23 05:21:33 2014 +0300 (2014-05-23) |
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 }