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