wok-next view iron-linux/receipt @ rev 17145

libnxml: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 10 12:55:03 2014 +0200 (2014-09-10)
parents de49f29b101e
children 5d53e8ccbc8d
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 libcups 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 }