wok diff firefox/receipt @ rev 840
Up: firefox (3.0-rc1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 18 13:43:07 2008 +0200 (2008-05-18) |
parents | 0612e7ec101d |
children | c2688245d108 |
line diff
1.1 --- a/firefox/receipt Mon Apr 21 10:58:05 2008 +0200 1.2 +++ b/firefox/receipt Sun May 18 13:43:07 2008 +0200 1.3 @@ -1,13 +1,13 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="firefox" 1.7 -VERSION="2.0.0.14" 1.8 +VERSION="3.0-rc1" 1.9 CATEGORY="network" 1.10 SHORT_DESC="User friendly, secure and fast web browser." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 DEPENDS="gtk+" 1.13 -BUILD_DEPENDS="xorg-dev gtk+-dev zip libIDL coreutils" 1.14 -TARBALL="$PACKAGE-$VERSION-source.tar.bz2" 1.15 +BUILD_DEPENDS="xorg-dev gtk+-dev zip libIDL coreutils findutils" 1.16 +TARBALL="$PACKAGE-3.0rc1-source.tar.bz2" 1.17 WEB_SITE="http://www.mozilla.org/" 1.18 WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$VERSION/source/$TARBALL" 1.19 1.20 @@ -32,41 +32,42 @@ 1.21 # Rules to gen a SliTaz package suitable for Tazpkg. 1.22 genpkg_rules() 1.23 { 1.24 + _pkg=$WOK/firefox/firefox-3.0rc1/_pkg 1.25 mkdir -p $fs/usr/lib $fs/usr/share $fs/etc 1.26 cp -a $_pkg/usr/bin $fs/usr 1.27 - cp -a $_pkg/usr/lib/$PACKAGE-$VERSION $fs/usr/lib 1.28 + cp -a $_pkg/usr/lib/$PACKAGE-3.0 $fs/usr/lib 1.29 1.30 # SliTaz Web site for the home page, bookmarks file and branding. 1.31 - cp -a stuff/browserconfig.properties $fs/usr/lib/$PACKAGE-$VERSION 1.32 - cp -a stuff/bookmarks.html $fs/usr/lib/$PACKAGE-$VERSION/defaults/profile 1.33 + cp -a stuff/browserconfig.properties $fs/usr/lib/$PACKAGE-3.0 1.34 + cp -a stuff/bookmarks.html $fs/usr/lib/$PACKAGE-3.0/defaults/profile 1.35 cp -a stuff/firefox-branding.js \ 1.36 - $fs/usr/lib/$PACKAGE-$VERSION/defaults/pref/ 1.37 + $fs/usr/lib/$PACKAGE-3.0/defaults/pref/ 1.38 1.39 # User preference. 1.40 - cp -a stuff/prefs.js $fs/usr/lib/$PACKAGE-$VERSION/defaults/profile 1.41 + cp -a stuff/prefs.js $fs/usr/lib/$PACKAGE-3.0/defaults/profile 1.42 cp -a stuff/userChrome.css \ 1.43 - $fs/usr/lib/$PACKAGE-$VERSION/defaults/profile/chrome 1.44 - 1.45 - # Remove Mozilla default icons. 1.46 - rm -rf $fs/usr/lib/$PACKAGE-$VERSION/icons 1.47 + $fs/usr/lib/$PACKAGE-3.0/defaults/profile/chrome 1.48 1.49 # Move default config to /etc/firefox (/usr maybe read-only) 1.50 - mv -f $fs/usr/lib/$PACKAGE-$VERSION/defaults $fs/etc/$PACKAGE 1.51 - ln -s /etc/$PACKAGE $fs/usr/lib/$PACKAGE-$VERSION/defaults 1.52 - 1.53 + mv -f $fs/usr/lib/$PACKAGE-3.0/defaults $fs/etc/$PACKAGE 1.54 + ln -s /etc/$PACKAGE $fs/usr/lib/$PACKAGE-3.0/defaults 1.55 + 1.56 # Locale fr 1.57 tar xjf stuff/langpack-fr@firefox.mozilla.org.tar.bz2 \ 1.58 - -C $fs/usr/lib/$PACKAGE-$VERSION/extensions 1.59 - 1.60 + -C $fs/usr/lib/$PACKAGE-3.0/extensions 1.61 + 1.62 # Search Plugin (by: oddball) 1.63 - cp -a stuff/searchplugins $fs/usr/lib/firefox-$VERSION/ 1.64 - 1.65 + cp -a stuff/searchplugins $fs/usr/lib/firefox-3.0/ 1.66 + 1.67 # Home page 1.68 cp -a stuff/webhome $fs/usr/share 1.69 chown -R root.root $fs 1.70 - 1.71 + 1.72 # Remove unnecessary files. 1.73 - rm -f $fs/usr/lib/$PACKAGE-$VERSION/TestGtkEmbed 1.74 + #rm -f $fs/usr/lib/$PACKAGE-3.0/TestGtkEmbed 1.75 + rm -rf $fs/usr/lib/$PACKAGE-3.0/dictionaries/* 1.76 + rm -rf $fs/usr/lib/$PACKAGE-3.0/icons 1.77 + rm -rf $fs/usr/lib/$PACKAGE-3.0/libsqlite3.so 1.78 } 1.79 1.80 # Pre - Post install command to set default locale. 1.81 @@ -83,6 +84,6 @@ 1.82 root=$1 1.83 if grep -q "fr_*" $root/etc/locale.conf; then 1.84 sed -i 's/en-US/fr/' \ 1.85 - $root/usr/lib/$PACKAGE-$VERSION/defaults/pref/firefox-l10n.js 1.86 + $root/etc/firefox/pref/firefox-l10n.js 1.87 fi 1.88 }