wok annotate firefox-official-de/receipt @ rev 18666

Up tazpkg (883)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 04 13:21:56 2015 +0100 (2015-12-04)
parents
children 6e9e0c6034a8
rev   line source
al@18570 1 # SliTaz package receipt.
al@18570 2
al@18570 3 PACKAGE="firefox-official-de"
al@18570 4 lang="de"
al@18570 5 VERSION="42.0"
al@18570 6 CATEGORY="network"
al@18570 7 SHORT_DESC="Official Firefox build by the Mozilla foundation (German language)"
al@18570 8 MAINTAINER="al.bobylev@gmail.com"
al@18570 9 LICENSE="MPL2"
al@18570 10 WEB_SITE="http://www.mozilla.org/firefox"
al@18570 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@18570 12 WGET_URL="http://ftp.mozilla.org/pub/firefox/releases/$VERSION/linux-i686/$lang/firefox-$VERSION.tar.bz2"
al@18570 13 TAGS="web-browser"
al@18570 14 PROVIDE="firefox-official"
al@18570 15 HOST_ARCH="i486"
al@18570 16
al@18570 17 DEPENDS="gtk+"
al@18570 18
al@18570 19 # Rules to configure and make the package.
al@18570 20 compile_rules()
al@18570 21 {
al@18570 22 mkdir -p \
al@18570 23 $install/usr/bin \
al@18570 24 $install/usr/lib/firefox-$VERSION \
al@18570 25 $install/usr/share/applications \
al@18570 26 $install/usr/share/icons/hicolor/128x128/apps
al@18570 27
al@18570 28 cp -a $src/* $install/usr/lib/firefox-$VERSION
al@18570 29
al@18570 30 # /usr/bin/firefox-official
al@18570 31 ln -s /usr/lib/firefox-$VERSION/firefox $install/usr/bin/firefox-official
al@18570 32
al@18570 33 # Icons
al@18570 34 ln -s /usr/lib/firefox-$VERSION/browser/icons/mozicon128.png \
al@18570 35 $install/usr/share/icons/hicolor/128x128/apps/firefox-official.png
al@18570 36 for size in 16 32 48; do
al@18570 37 icon_folder="$install/usr/share/icons/hicolor/${size}x$size/apps"
al@18570 38 mkdir -p $icon_folder
al@18570 39 ln -s /usr/lib/firefox-$VERSION/browser/chrome/icons/default/default$size.png \
al@18570 40 $icon_folder/firefox-official.png
al@18570 41 done
al@18570 42
al@18570 43 # Remove updater files (user can't upgrade anyway)
al@18570 44 rm -f $install/usr/lib/firefox-$VERSION/update*
al@18570 45
al@18570 46 cp $stuff/firefox-official.desktop $install/usr/share/applications
al@18570 47 }
al@18570 48
al@18570 49 # Rules to gen a SliTaz package suitable for Tazpkg.
al@18570 50 genpkg_rules()
al@18570 51 {
al@18570 52 cp -a $install/* $fs
al@18570 53 }