wok-current diff firefox-official-en-GB/receipt @ rev 21863
Add firefox-official-en-GB
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Sep 24 09:58:43 2019 +0300 (2019-09-24) |
parents | |
children | 90a4a17c887f |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/firefox-official-en-GB/receipt Tue Sep 24 09:58:43 2019 +0300 1.3 @@ -0,0 +1,60 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="firefox-official-en-GB" 1.7 +lang="en-GB" 1.8 +VERSION="68.0" 1.9 +CATEGORY="network" 1.10 +TAGS="web-browser" 1.11 +SHORT_DESC="Official Firefox build by the Mozilla foundation (English language for Great Britain)." 1.12 +MAINTAINER="al.bobylev@gmail.com" 1.13 +LICENSE="MPL2" 1.14 +WEB_SITE="http://www.mozilla.org/firefox" 1.15 + 1.16 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.17 +WGET_URL="http://ftp.mozilla.org/pub/firefox/releases/$VERSION/linux-i686/$lang/firefox-$VERSION.tar.bz2" 1.18 + 1.19 +PROVIDE="firefox-official browser-html5" 1.20 +DEPENDS="alsa-lib dbus-glib gtk+ gtk+3 libatomic xorg-libXt" 1.21 +HOST_ARCH="i486" 1.22 + 1.23 +# Rules to configure and make the package. 1.24 +compile_rules() 1.25 +{ 1.26 + # Installation path 1.27 + fx='/opt/mozilla/firefox' 1.28 + 1.29 + mkdir -p \ 1.30 + $install$fx \ 1.31 + $install/usr/bin \ 1.32 + $install/usr/share/applications \ 1.33 + $install/usr/share/icons/hicolor/128x128/apps 1.34 + 1.35 + # Copy everything 1.36 + cp -a $src/* $install$fx 1.37 + 1.38 + # Executable 1.39 + ln -s $fx/firefox $install/usr/bin/firefox-official 1.40 + 1.41 + # Icons 1.42 + ln -s $fx/browser/icons/mozicon128.png \ 1.43 + $install/usr/share/icons/hicolor/128x128/apps/firefox-official.png 1.44 + for size in 16 32 48; do 1.45 + icon_folder="$install/usr/share/icons/hicolor/${size}x$size/apps" 1.46 + mkdir -p $icon_folder 1.47 + ln -s $fx/browser/chrome/icons/default/default$size.png \ 1.48 + $icon_folder/firefox-official.png 1.49 + done 1.50 + 1.51 + # Allow user updates (save user's and our traffic) 1.52 + chmod -R a+w $install$fx 1.53 + 1.54 + # Desktop shortcut 1.55 + cp $stuff/firefox-official.desktop $install/usr/share/applications 1.56 +} 1.57 + 1.58 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.59 +genpkg_rules() 1.60 +{ 1.61 + cp -a $install/* $fs 1.62 + ln -s firefox-official $fs/usr/bin/browser-html5 1.63 +}