wok view firefox-official/receipt @ rev 18730

Quote root dir in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 20 15:13:45 2015 +0100 (2015-12-20)
parents 6e9e0c6034a8
children b24415127382
line source
1 # SliTaz package receipt.
3 PACKAGE="firefox-official"
4 VERSION="43.0.1"
5 CATEGORY="network"
6 SHORT_DESC="Official Firefox build by the Mozilla foundation."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MPL2"
9 WEB_SITE="http://www.mozilla.org/firefox"
10 TARBALL="firefox-$VERSION.tar.bz2"
11 WGET_URL="http://ftp.mozilla.org/pub/firefox/releases/$VERSION/linux-i686/en-US/$TARBALL"
12 TAGS="web-browser"
13 HOST_ARCH="i486"
15 DEPENDS="gtk+"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir -p \
21 $install/usr/bin \
22 $install/usr/lib/firefox-$VERSION \
23 $install/usr/share/icons/hicolor/128x128/apps
25 cp -a $src/* $install/usr/lib/firefox-$VERSION
27 # /usr/bin/firefox-official + pixmap
28 ln -s /usr/lib/firefox-$VERSION/firefox $install/usr/bin/$PACKAGE
29 ln -s /usr/lib/firefox-$VERSION/browser/icons/mozicon128.png \
30 $install/usr/share/icons/hicolor/128x128/apps/$PACKAGE.png
32 # Remove updater files (users can't upgrade anyway)
33 rm -f $install/usr/lib/firefox-$VERSION/update*
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/* $fs
40 }