wok annotate firefox-official-en-GB/receipt @ rev 22188

updated xorg-fontsproto (2.1.2 -> 2.1.3)
author Hans-G?nter Theisgen
date Mon Nov 11 09:14:03 2019 +0100 (2019-11-11)
parents 90a4a17c887f
children f95c417fc3b6
rev   line source
al@21863 1 # SliTaz package receipt.
al@21863 2
al@21863 3 PACKAGE="firefox-official-en-GB"
al@21863 4 lang="en-GB"
Hans-G?nter@22069 5 VERSION="70.0"
al@21863 6 CATEGORY="network"
al@21863 7 TAGS="web-browser"
al@21863 8 SHORT_DESC="Official Firefox build by the Mozilla foundation (English language for Great Britain)."
al@21863 9 MAINTAINER="al.bobylev@gmail.com"
al@21863 10 LICENSE="MPL2"
al@21863 11 WEB_SITE="http://www.mozilla.org/firefox"
al@21863 12
al@21863 13 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@21863 14 WGET_URL="http://ftp.mozilla.org/pub/firefox/releases/$VERSION/linux-i686/$lang/firefox-$VERSION.tar.bz2"
al@21863 15
al@21863 16 PROVIDE="firefox-official browser-html5"
al@21863 17 DEPENDS="alsa-lib dbus-glib gtk+ gtk+3 libatomic xorg-libXt"
al@21863 18 HOST_ARCH="i486"
al@21863 19
al@21863 20 # Rules to configure and make the package.
al@21863 21 compile_rules()
al@21863 22 {
al@21863 23 # Installation path
al@21863 24 fx='/opt/mozilla/firefox'
al@21863 25
al@21863 26 mkdir -p \
al@21863 27 $install$fx \
al@21863 28 $install/usr/bin \
al@21863 29 $install/usr/share/applications \
al@21863 30 $install/usr/share/icons/hicolor/128x128/apps
al@21863 31
al@21863 32 # Copy everything
al@21863 33 cp -a $src/* $install$fx
al@21863 34
al@21863 35 # Executable
al@21863 36 ln -s $fx/firefox $install/usr/bin/firefox-official
al@21863 37
al@21863 38 # Icons
al@21863 39 ln -s $fx/browser/icons/mozicon128.png \
al@21863 40 $install/usr/share/icons/hicolor/128x128/apps/firefox-official.png
al@21863 41 for size in 16 32 48; do
al@21863 42 icon_folder="$install/usr/share/icons/hicolor/${size}x$size/apps"
al@21863 43 mkdir -p $icon_folder
al@21863 44 ln -s $fx/browser/chrome/icons/default/default$size.png \
al@21863 45 $icon_folder/firefox-official.png
al@21863 46 done
al@21863 47
al@21863 48 # Allow user updates (save user's and our traffic)
al@21863 49 chmod -R a+w $install$fx
al@21863 50
al@21863 51 # Desktop shortcut
al@21863 52 cp $stuff/firefox-official.desktop $install/usr/share/applications
al@21863 53 }
al@21863 54
al@21863 55 # Rules to gen a SliTaz package suitable for Tazpkg.
al@21863 56 genpkg_rules()
al@21863 57 {
al@21863 58 cp -a $install/* $fs
al@21863 59 ln -s firefox-official $fs/usr/bin/browser-html5
al@21863 60 }