wok rev 24442

created recipe for firefox-official-da
author Hans-G?nter Theisgen
date Mon Feb 14 07:26:07 2022 +0100 (2022-02-14)
parents 8ae9e1d172f0
children c644ecfbd345
files firefox-official-da/receipt firefox-official-da/stuff/firefox-official.desktop
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/firefox-official-da/receipt	Mon Feb 14 07:26:07 2022 +0100
     1.3 @@ -0,0 +1,59 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="firefox-official-da"
     1.7 +lang="da"
     1.8 +VERSION="77.0"
     1.9 +CATEGORY="network"
    1.10 +TAGS="web-browser"
    1.11 +SHORT_DESC="Official Firefox build by the Mozilla foundation (Danish language)."
    1.12 +MAINTAINER="maintainer@slitaz.org"
    1.13 +LICENSE="MPL2"
    1.14 +WEB_SITE="https://www.mozilla.org/firefox"
    1.15 +
    1.16 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 +WGET_URL="https://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 +SUGGESTED="vlc"
    1.21 +DEPENDS="alsa-lib dbus-glib gtk+ gtk+3 libatomic xorg-libXt libwrap"
    1.22 +
    1.23 +HOST_ARCH="i486"
    1.24 +
    1.25 +# Rules to configure and make the package.
    1.26 +compile_rules()
    1.27 +{
    1.28 +	# Installation path
    1.29 +	fx='/opt/mozilla/firefox'
    1.30 +
    1.31 +	mkdir -p $install$fx
    1.32 +	mkdir -p $install/usr/bin
    1.33 +	mkdir -p $install/usr/share/applications
    1.34 +	mkdir -p $install/usr/share/icons/hicolor/128x128/apps
    1.35 +
    1.36 +	# Copy everything
    1.37 +	cp -a $src/*		$install$fx
    1.38 +
    1.39 +	# Executable
    1.40 +	ln -s $fx/firefox	$install/usr/bin/firefox-official
    1.41 +
    1.42 +	# Icons
    1.43 +	ln -s $fx/browser/icons/mozicon128.png \
    1.44 +		$install/usr/share/icons/hicolor/128x128/apps/firefox-official.png
    1.45 +	for size in 16 32 48
    1.46 +	  do
    1.47 +		icon_folder="$install/usr/share/icons/hicolor/${size}x$size/apps"
    1.48 +		mkdir -p $icon_folder
    1.49 +		ln -s $fx/browser/chrome/icons/default/default$size.png \
    1.50 +			$icon_folder/firefox-official.png
    1.51 +	  done
    1.52 +
    1.53 +	# Desktop shortcut
    1.54 +	cp $stuff/firefox-official.desktop	$install/usr/share/applications
    1.55 +}
    1.56 +
    1.57 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.58 +genpkg_rules()
    1.59 +{
    1.60 +	cp -a $install/*	$fs
    1.61 +	ln -s firefox-official	$fs/usr/bin/browser-html5
    1.62 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/firefox-official-da/stuff/firefox-official.desktop	Mon Feb 14 07:26:07 2022 +0100
     2.3 @@ -0,0 +1,89 @@
     2.4 +[Desktop Entry]
     2.5 +Type=Application
     2.6 +Name=Firefox Web Browser (official)
     2.7 +Name[cs]=Prohlížeč WWW Firefox (official)
     2.8 +Name[da]=Firefox - internetsurfning (official)
     2.9 +Name[de]=Firefox Webbrowser (official)
    2.10 +Name[el]=Περιηγητής Διαδικτύου Firefox (official)
    2.11 +Name[es]=Navegador Web Firefox (official)
    2.12 +Name[fi]=Firefox, WWW-selain (official)
    2.13 +Name[fr]=Navigateur Web Firefox (officiel)
    2.14 +Name[hr]=Firefox Web preglednik (official)
    2.15 +Name[hu]=Firefox webböngésző (official)
    2.16 +Name[id]=Web Browser Firefox (official)
    2.17 +Name[it]=Browser web Firefox (official)
    2.18 +Name[ja]=Firefox ウェブ・ブラウザ (official)
    2.19 +Name[nb]=Firefox nettleser (official)
    2.20 +Name[nl]=Firefox Webbrowser (official)
    2.21 +Name[nn]=Firefox nettlesar (official)
    2.22 +Name[pl]=Przeglądarka WWW Firefox (official)
    2.23 +Name[pt]=Navegador Web Firefox (official)
    2.24 +Name[pt_BR]=Navegador Web Firefox (official)
    2.25 +Name[ro]=Navigatorul Firefox (official)
    2.26 +Name[ru]=Браузер Firefox (официальный)
    2.27 +Name[sl]=Spletni brskalnik Firefox (official)
    2.28 +Name[sv]=Webbläsaren Firefox (official)
    2.29 +Name[tr]=Firefox Web Tarayıcı (official)
    2.30 +Name[uk]=Переглядач web Firefox (official)
    2.31 +Name[zh_CN]=Firefox Web 浏览器 (official)
    2.32 +Name[zh_TW]=Firefox 網頁瀏覽器 (official)
    2.33 +GenericName=Web Browser
    2.34 +GenericName[ar]=متصفّح الانترنت
    2.35 +GenericName[cs]=Prohlížeč WWW
    2.36 +GenericName[da]=Internetsurfning
    2.37 +GenericName[de]=Webbrowser
    2.38 +GenericName[el]=Περιηγητής Ιστοσελίδων
    2.39 +GenericName[es]=Navegador web
    2.40 +GenericName[fi]=WWW-selain
    2.41 +GenericName[fr]=Navigateur Web
    2.42 +GenericName[hr]=Web preglednik
    2.43 +GenericName[hu]=Webböngésző
    2.44 +GenericName[id]=Browser Web
    2.45 +GenericName[it]=Browser web
    2.46 +GenericName[ja]=ウェブ・ブラウザ
    2.47 +GenericName[nb]=Nettleser
    2.48 +GenericName[nl]=Web-browser
    2.49 +GenericName[nn]=Nettlesar
    2.50 +GenericName[pl]=Przeglądarka WWW
    2.51 +GenericName[pt]=Navegador Web
    2.52 +GenericName[pt_BR]=Navegador Web
    2.53 +GenericName[ro]=Navigator Internet
    2.54 +GenericName[ru]=Веб-браузер
    2.55 +GenericName[sl]=Spletni brskalnik
    2.56 +GenericName[sv]=Webbläsare
    2.57 +GenericName[tr]=Web Tarayıcı
    2.58 +GenericName[uk]=Переглядач веб-сторінок
    2.59 +GenericName[zh_CN]=Web 浏览器
    2.60 +GenericName[zh_TW]=網頁瀏覽器
    2.61 +Comment=Browse the web
    2.62 +Comment[ar]=تصفح الانترنت
    2.63 +Comment[cs]=Prohlížet WWW
    2.64 +Comment[da]=Surf på internettet
    2.65 +Comment[de]=Im Web surfen
    2.66 +Comment[el]=Περιήγηση στον παγκόσμιο ιστό
    2.67 +Comment[es]=Navegar por la web
    2.68 +Comment[fi]=Selaa WWW:tä
    2.69 +Comment[fr]=Naviguer sur Internet
    2.70 +Comment[hr]=Pregledaj Web
    2.71 +Comment[hu]=A világháló böngészése
    2.72 +Comment[id]=Jelajah web
    2.73 +Comment[it]=Esplora il web
    2.74 +Comment[ja]=ウェブを閲覧します
    2.75 +Comment[nb]=Surf på nettet
    2.76 +Comment[nl]=Websurfen
    2.77 +Comment[nn]=Surf på nettet
    2.78 +Comment[pl]=Przeglądanie stron WWW
    2.79 +Comment[pt]=Navegar na web
    2.80 +Comment[pt_BR]=Navegar na web
    2.81 +Comment[ro]=Navigare Internet
    2.82 +Comment[ru]=Просмотр интернета
    2.83 +Comment[sl]=Brskaj po spletu
    2.84 +Comment[sv]=Surfa på nätet
    2.85 +Comment[tr]=Web'e Gözat
    2.86 +Comment[uk]=Перегляд веб-сторінок
    2.87 +Comment[zh_CN]=浏览 Web
    2.88 +Comment[zh_TW]=瀏覽網頁
    2.89 +Exec=firefox-official %u
    2.90 +Icon=firefox-official
    2.91 +Categories=GTK;Network;WebBrowser;
    2.92 +MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;