wok view iron-linux/receipt @ rev 9036

iron-linux, squirrelmail plugins: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 00:08:04 2011 +0100 (2011-03-04)
parents 20fa201cf18c
children 91a615759636
line source
1 # SliTaz package receipt.
3 PACKAGE="iron-linux"
4 VERSION="7.0.520.0"
5 CATEGORY="network"
6 SHORT_DESC="Secure web browser (Chromium source)."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS="nss-dev libfirefox GConf cups libjpeg62" # may need updating?
9 TARBALL="$PACKAGE.tar.gz"
10 WEB_SITE="http://www.srware.net/en/software_srware_iron.php"
11 WGET_URL="http://www.srware.net/downloads/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cp -a $src $DESTDIR/$PACKAGE
17 }
19 # Rules to gen a SliTaz package suitable for Tazpkg.
20 genpkg_rules()
21 {
22 mkdir -p $fs/usr/lib
23 cp -a $_pkg/$PACKAGE $fs/usr/lib
24 # Desktop file
25 cp -a stuff/* $fs
26 }
28 # Create a link to /usr/bin/iron and copy png.
29 post_install()
30 {
31 cp -a $1/usr/lib/iron-linux/product_logo_48.png $1/usr/share/pixmaps/iron.png
32 ln -s $1/usr/lib/iron-linux/iron $1/usr/bin/iron
33 }
35 # Remove link and png.
36 post_remove()
37 {
38 rm -f $1/usr/bin/iron
39 rm -f $1/usr/share/pixmaps/iron.png
40 }