wok view firefox-official-ru/receipt @ rev 18682

Add mps-youtube (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 09 18:50:42 2015 +0100 (2015-12-09)
parents
children 6e9e0c6034a8
line source
1 # SliTaz package receipt.
3 PACKAGE="firefox-official-ru"
4 lang="ru"
5 VERSION="42.0"
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 }