wok-next view firefox-official-uk/receipt @ rev 18801
syslinux: auto unlzma needs size to work
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 11 17:54:50 2016 +0100 (2016-01-11) |
parents | a02ebc2dd477 |
children | dfc51ce7954a |
line source
1 # SliTaz package receipt.
3 PACKAGE="firefox-official-uk"
4 lang="uk"
5 VERSION="43.0.4"
6 CATEGORY="network"
7 SHORT_DESC="Official Firefox build by the Mozilla foundation (Ukrainian 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 }