wok-next annotate libfirefox/receipt @ rev 20146

Up qemu-light (2.0.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 01 11:50:08 2017 +0100 (2017-11-01)
parents de950d258662
children
rev   line source
jozee@5038 1 # SliTaz package receipt.
jozee@5038 2
jozee@5038 3 PACKAGE="libfirefox"
domcox@15534 4 VERSION="17.0.11esr"
jozee@5038 5 CATEGORY="network"
domcox@14211 6 SHORT_DESC="firefox/thunderbird common files"
jozee@5038 7 MAINTAINER="jozee@slitaz.org"
pascal@15473 8 LICENSE="MPL2"
jozee@5038 9 WANTED="firefox"
jozee@5038 10 WEB_SITE="http://www.mozilla.org/"
jozee@5038 11
pascal@20098 12 DEPENDS="gtk+ sqlite3 dbus dbus-glib glib jpeg xorg-libX11 xorg-libXdamage \
pankso@10737 13 alsa-lib xorg-libXt"
pankso@10737 14
jozee@5038 15 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@5038 16 genpkg_rules()
jozee@5038 17 {
domcox@14211 18 # dictionaries/en-US.aff
domcox@14211 19 # dictionaries/en-US.dic
domcox@14211 20 printf "Installing dictionaries"
domcox@14211 21 mkdir -p $fs/usr/lib/mozilla-common-$VERSION/dictionaries
domcox@14211 22 # cp -a $install/usr/lib/firefox-$VERSION/dictionaries \
domcox@14211 23 # $fs/usr/lib/mozilla-common-$VERSION
domcox@14211 24 status
domcox@14211 25
domcox@14211 26 # plugin-container
domcox@14211 27 printf "Installing common plugin-container"
domcox@14211 28 cp -a $install/usr/lib/firefox-$VERSION/plugin-container \
domcox@14211 29 $fs/usr/lib/mozilla-common-$VERSION
domcox@14211 30 status
domcox@14211 31
domcox@14211 32 # mozilla-xremote-client
domcox@14211 33 printf "Installing common mozilla-xremote-client"
domcox@14211 34 cp -a $install/usr/lib/firefox-$VERSION/mozilla-xremote-client \
domcox@14211 35 $fs/usr/lib/mozilla-common-$VERSION
domcox@14211 36 status
domcox@14211 37
domcox@14211 38 # components/libdbusservice.so
domcox@14211 39 # components/libmozgnome.so
domcox@14211 40 mkdir -p $fs/usr/lib/mozilla-common-$VERSION/components
domcox@14211 41 for file in libdbusservice.so libmozgnome.so; do
domcox@14211 42 printf "Installing common components/$file"
domcox@14211 43 cp -a $install/usr/lib/firefox-$VERSION/components/$file \
domcox@14211 44 $fs/usr/lib/mozilla-common-$VERSION/components
domcox@14211 45 status
domcox@14211 46 done
domcox@14211 47
domcox@14211 48 # chrome.manifest
domcox@14211 49 printf "Installing common chrome.manifest"
domcox@14211 50 cp -a $install/usr/lib/firefox-$VERSION/chrome.manifest \
domcox@14211 51 $fs/usr/lib/mozilla-common-$VERSION
domcox@14211 52 status
domcox@14211 53
domcox@14211 54 # run-mozilla.sh
domcox@14211 55 printf "Installing common run-mozilla.sh"
domcox@14211 56 cp -a $install/usr/lib/firefox-$VERSION/run-mozilla.sh \
domcox@14211 57 $fs/usr/lib/mozilla-common-$VERSION
domcox@14211 58 status
domcox@14211 59
domcox@14211 60 # libmozalloc.so
domcox@14211 61 printf "Installing common libmozalloc.so"
domcox@14211 62 cp -a $install/usr/lib/firefox-$VERSION/libmozalloc.so \
domcox@14211 63 $fs/usr/lib/mozilla-common-$VERSION
domcox@14211 64 status
jozee@5038 65 }