wok-next view firefox-official/receipt @ rev 18697
Fix pilot-link(-dev) packaging
author | Lucas Levrel <llevrel@yahoo.fr> |
---|---|
date | Mon Dec 14 09:55:05 2015 +0100 (2015-12-14) |
parents | 6d068bbdfc61 |
children | 6e9e0c6034a8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="firefox-official"
4 VERSION="42.0"
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/mozilla.org/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 }