wok-6.x view firefox-official-it/receipt @ rev 18749
Up tazpkg(897)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Dec 26 16:06:53 2015 +0200 (2015-12-26) |
parents | dcdf29fbef66 |
children | a02ebc2dd477 |
line source
1 # SliTaz package receipt.
3 PACKAGE="firefox-official-it"
4 lang="it"
5 VERSION="43.0.2"
6 CATEGORY="network"
7 SHORT_DESC="Official Firefox build by the Mozilla foundation (Italian language)"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="MPL2"
10 WEB_SITE="http://www.mozilla.org/firefox"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://ftp.mozilla.org/pub/firefox/releases/$VERSION/linux-i686/$lang/firefox-$VERSION.tar.bz2"
13 TAGS="web-browser"
14 PROVIDE="firefox-official"
15 HOST_ARCH="i486"
17 DEPENDS="gtk+"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 mkdir -p \
23 $install/usr/bin \
24 $install/usr/lib/firefox-$VERSION \
25 $install/usr/share/applications \
26 $install/usr/share/icons/hicolor/128x128/apps
28 cp -a $src/* $install/usr/lib/firefox-$VERSION
30 # /usr/bin/firefox-official
31 ln -s /usr/lib/firefox-$VERSION/firefox $install/usr/bin/firefox-official
33 # Icons
34 ln -s /usr/lib/firefox-$VERSION/browser/icons/mozicon128.png \
35 $install/usr/share/icons/hicolor/128x128/apps/firefox-official.png
36 for size in 16 32 48; do
37 icon_folder="$install/usr/share/icons/hicolor/${size}x$size/apps"
38 mkdir -p $icon_folder
39 ln -s /usr/lib/firefox-$VERSION/browser/chrome/icons/default/default$size.png \
40 $icon_folder/firefox-official.png
41 done
43 # Remove updater files (user can't upgrade anyway)
44 rm -f $install/usr/lib/firefox-$VERSION/update*
46 cp $stuff/firefox-official.desktop $install/usr/share/applications
47 }
49 # Rules to gen a SliTaz package suitable for Tazpkg.
50 genpkg_rules()
51 {
52 cp -a $install/* $fs
53 }