wok-current view firefox-official-it/receipt @ rev 20926
updated fltk, fltk-blocks, fltk-checkers, fltk-colbrowser, fltk-dev, fltk-editor, and fltk-sudoku (1.3.3 -> 1.3.4.2)
| author | Hans-Günter Theisgen | 
|---|---|
| date | Sat Mar 02 13:00:42 2019 +0100 (2019-03-02) | 
| parents | 15167372e6fe | 
| children | 7f4957f92ea6 | 
 line source
     1 # SliTaz package receipt.
     3 PACKAGE="firefox-official-it"
     4 lang="it"
     5 VERSION="65.0"
     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 browser-html5"
    15 HOST_ARCH="i486"
    17 DEPENDS="alsa-lib dbus-glib gtk+ gtk+3 libatomic xorg-libXt"
    19 # Rules to configure and make the package.
    20 compile_rules()
    21 {
    22 	# Installation path
    23 	fx='/opt/mozilla/firefox'
    25 	mkdir -p \
    26 		$install$fx \
    27 		$install/usr/bin \
    28 		$install/usr/share/applications \
    29 		$install/usr/share/icons/hicolor/128x128/apps
    31 	# Copy everything
    32 	cp -a $src/* $install$fx
    34 	# Executable
    35 	ln -s $fx/firefox $install/usr/bin/firefox-official
    37 	# Icons
    38 	ln -s $fx/browser/icons/mozicon128.png \
    39 		$install/usr/share/icons/hicolor/128x128/apps/firefox-official.png
    40 	for size in 16 32 48; do
    41 		icon_folder="$install/usr/share/icons/hicolor/${size}x$size/apps"
    42 		mkdir -p $icon_folder
    43 		ln -s $fx/browser/chrome/icons/default/default$size.png \
    44 			$icon_folder/firefox-official.png
    45 	done
    47 	# Allow user updates (save user's and our traffic)
    48 	chmod -R a+w $install$fx
    50 	# Desktop shortcut
    51 	cp $stuff/firefox-official.desktop $install/usr/share/applications
    52 }
    54 # Rules to gen a SliTaz package suitable for Tazpkg.
    55 genpkg_rules()
    56 {
    57 	cp -a $install/* $fs
    58 	ln -s firefox-official $fs/usr/bin/browser-html5
    59 }