wok-current rev 14211
Up: libfirefox (17.0.4esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sat Mar 16 21:29:51 2013 +0100 (2013-03-16) |
parents | dbd41e6636de |
children | 2003ad924842 |
files | libfirefox/receipt |
line diff
1.1 --- a/libfirefox/receipt Sat Mar 16 21:28:06 2013 +0100 1.2 +++ b/libfirefox/receipt Sat Mar 16 21:29:51 2013 +0100 1.3 @@ -1,9 +1,9 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="libfirefox" 1.7 -VERSION="10.0.2" 1.8 +VERSION="17.0.4esr" 1.9 CATEGORY="network" 1.10 -SHORT_DESC="firefox lib files" 1.11 +SHORT_DESC="firefox/thunderbird common files" 1.12 MAINTAINER="jozee@slitaz.org" 1.13 WANTED="firefox" 1.14 WEB_SITE="http://www.mozilla.org/" 1.15 @@ -14,20 +14,51 @@ 1.16 # Rules to gen a SliTaz package suitable for Tazpkg. 1.17 genpkg_rules() 1.18 { 1.19 - mkdir -p $fs/usr/lib/$WANTED 1.20 - cp -a $_pkg/usr/lib/$WANTED/*.so $fs/usr/lib/$WANTED 1.21 - 1.22 - # remove some firefox libs (in firefox receipts) 1.23 - rm -rf $fs/usr/lib/firefox/libxul.so 1.24 - 1.25 - # Remove unnecessary files (copied from firefox receipt) 1.26 - rm -rf $fs/usr/lib/firefox/libsqlite3.so 1.27 + # dictionaries/en-US.aff 1.28 + # dictionaries/en-US.dic 1.29 + printf "Installing dictionaries" 1.30 + mkdir -p $fs/usr/lib/mozilla-common-$VERSION/dictionaries 1.31 +# cp -a $install/usr/lib/firefox-$VERSION/dictionaries \ 1.32 +# $fs/usr/lib/mozilla-common-$VERSION 1.33 + status 1.34 + 1.35 + # plugin-container 1.36 + printf "Installing common plugin-container" 1.37 + cp -a $install/usr/lib/firefox-$VERSION/plugin-container \ 1.38 + $fs/usr/lib/mozilla-common-$VERSION 1.39 + status 1.40 + 1.41 + # mozilla-xremote-client 1.42 + printf "Installing common mozilla-xremote-client" 1.43 + cp -a $install/usr/lib/firefox-$VERSION/mozilla-xremote-client \ 1.44 + $fs/usr/lib/mozilla-common-$VERSION 1.45 + status 1.46 + 1.47 + # components/libdbusservice.so 1.48 + # components/libmozgnome.so 1.49 + mkdir -p $fs/usr/lib/mozilla-common-$VERSION/components 1.50 + for file in libdbusservice.so libmozgnome.so; do 1.51 + printf "Installing common components/$file" 1.52 + cp -a $install/usr/lib/firefox-$VERSION/components/$file \ 1.53 + $fs/usr/lib/mozilla-common-$VERSION/components 1.54 + status 1.55 + done 1.56 + 1.57 + # chrome.manifest 1.58 + printf "Installing common chrome.manifest" 1.59 + cp -a $install/usr/lib/firefox-$VERSION/chrome.manifest \ 1.60 + $fs/usr/lib/mozilla-common-$VERSION 1.61 + status 1.62 + 1.63 + # run-mozilla.sh 1.64 + printf "Installing common run-mozilla.sh" 1.65 + cp -a $install/usr/lib/firefox-$VERSION/run-mozilla.sh \ 1.66 + $fs/usr/lib/mozilla-common-$VERSION 1.67 + status 1.68 + 1.69 + # libmozalloc.so 1.70 + printf "Installing common libmozalloc.so" 1.71 + cp -a $install/usr/lib/firefox-$VERSION/libmozalloc.so \ 1.72 + $fs/usr/lib/mozilla-common-$VERSION 1.73 + status 1.74 } 1.75 - 1.76 -post_install() 1.77 -{ 1.78 - # Export firefox libraries 1.79 - for i in /usr/lib/firefox/*.so ; do 1.80 - [ -f $i ] && ln -sf $i /usr/lib 1.81 - done 1.82 -}