wok-stable view iron-linux/receipt @ rev 11284

Up: phpmyadmin to 3.4.7.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Nov 10 14:55:14 2011 +0000 (2011-11-10)
parents 4413a1b4b67f
children 226e35b1edfc
line source
1 # SliTaz package receipt.
3 PACKAGE="iron-linux"
4 VERSION="14.0.850.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-$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
24 cp -a $_pkg/$PACKAGE $fs/usr/lib
25 # Desktop file
26 cp -a stuff/* $fs
27 }
29 # Create a link to /usr/bin/iron and copy png.
30 post_install()
31 {
32 cp -a $1/usr/lib/iron-linux/product_logo_48.png $1/usr/share/pixmaps/iron.png
33 ln -s $1/usr/lib/iron-linux/iron $1/usr/bin/iron
34 }
36 # Remove link and png.
37 post_remove()
38 {
39 rm -f $1/usr/bin/iron
40 rm -f $1/usr/share/pixmaps/iron.png
41 }