wok view iron-linux/receipt @ rev 7079
Fixed snort and libdaq to uncompress TARBALL as tar.gz instead of tar.bz2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Nov 02 17:58:41 2010 +0000 (2010-11-02) |
parents | |
children | 508be66aa009 |
line source
1 # SliTaz package receipt.
3 PACKAGE="iron-linux"
4 VERSION="5.0.381"
5 CATEGORY="network"
6 SHORT_DESC="Secure web browser (Chromium source)."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS="nss-dev libfirefox GConf" # 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 gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/usr/lib
17 cp -a $PACKAGE $fs/usr/lib
18 # Desktop file
19 cp -a stuff/* $fs
20 }
22 # Create a link to /usr/bin/iron and copy png.
23 post_install()
24 {
25 cp -a $1/usr/lib/iron-linux/product_logo_48.png $1/usr/share/pixmaps/iron.png
26 ln -s $1/usr/lib/iron-linux/iron $1/usr/bin/iron
27 }
29 # Remove link and png.
30 post_remove()
31 {
32 rm -f $1/usr/bin/iron
33 rm -f $1/usr/share/pixmaps/iron.png
34 }