wok-next view firefox-official-ru/receipt @ rev 18773

syslinux/iso2exe: add --force
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 31 16:02:37 2015 +0100 (2015-12-31)
parents b24415127382
children 12758fe1494b
line source
1 # SliTaz package receipt.
3 PACKAGE="firefox-official-ru"
4 lang="ru"
5 VERSION="43.0.3"
6 CATEGORY="network"
7 SHORT_DESC="Official Firefox build by the Mozilla foundation (Russian 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 }