wok view iron-linux/receipt @ rev 13389

autossh: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 24 11:39:21 2012 +0200 (2012-09-24)
parents b078be2cace4
children f2d80ef4da0f
line source
1 # SliTaz package receipt.
3 PACKAGE="iron-linux"
4 VERSION="20.0.1150.1"
5 CATEGORY="network"
6 SHORT_DESC="A secure web browser based on Chromium."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS="nss libfirefox GConf cups libjpeg62 libffi" # may need updating?
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 # Rules to configure and make the package.
14 compile_rules()
15 {
16 mkdir -p $DESTDIR
17 cp -a $src $DESTDIR/$PACKAGE
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
24 cp -a $install/$PACKAGE $fs/usr/lib
25 cp -a $fs/usr/lib/$PACKAGE/product_logo_48.png \
26 $fs/usr/share/pixmaps/iron.png
27 }
29 # Create a link to /usr/bin/iron.
30 post_install()
31 {
32 ln -s $1/usr/lib/iron-linux/iron $1/usr/bin/iron
33 }
35 # Remove link.
36 post_remove()
37 {
38 rm $1/usr/bin/iron
39 }