wok diff firefox/receipt @ rev 10902
imagemagick-dev: add pkgconfig files
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 21 11:31:07 2011 +0200 (2011-07-21) |
parents | 634770170170 |
children | 4d5a84939dfc |
line diff
1.1 --- a/firefox/receipt Wed May 25 13:32:14 2011 +0200 1.2 +++ b/firefox/receipt Thu Jul 21 11:31:07 2011 +0200 1.3 @@ -5,15 +5,17 @@ 1.4 CATEGORY="network" 1.5 SHORT_DESC="User friendly, secure and fast web browser." 1.6 MAINTAINER="pankso@slitaz.org" 1.7 -DEPENDS="gtk+ sqlite dbus dbus-glib glib jpeg xorg-libX11 xorg-libXdamage alsa-lib xorg-libXt libfirefox libnotify" 1.8 -BUILD_DEPENDS="zip libIDL coreutils findutils libnotify-dev wireless_tools-dev perl \ 1.9 -python yasm mesa-dev alsa-lib alsa-lib-dev" 1.10 TARBALL="$PACKAGE-$VERSION.source.tar.bz2" 1.11 WEB_SITE="http://www.mozilla.org/" 1.12 WGET_URL="http://releases.mozilla.org/pub/mozilla.org/firefox/releases/$VERSION/source/$TARBALL" 1.13 CONFIG_FILES="/etc/firefox" 1.14 TAGS="browser" 1.15 1.16 +DEPENDS="gtk+ sqlite dbus dbus-glib glib jpeg xorg-libX11 xorg-libXdamage \ 1.17 +alsa-lib xorg-libXt libfirefox libnotify" 1.18 +BUILD_DEPENDS="zip libIDL coreutils findutils libnotify-dev wireless_tools-dev \ 1.19 +perl python yasm alsa-lib-dev mesa-dev" 1.20 + 1.21 # Rules to configure and make the package. 1.22 # 1.23 # A long compile time... dont forget to build libidl before and check the 1.24 @@ -26,14 +28,15 @@ 1.25 sed -i 's/xtype/type/' toolkit/mozapps/installer/packager.mk 1.26 ./configure $CONFIGURE_ARGS && 1.27 make -j 4 && 1.28 - make DESTDIR=$PWD/_pkg install && 1.29 - cp -a xpcom/typelib $PWD/_pkg 1.30 + make DESTDIR=$DESTDIR install && 1.31 + cp -a xpcom/typelib $DESTDIR 1.32 } 1.33 1.34 # Rules to gen a SliTaz package suitable for Tazpkg. 1.35 genpkg_rules() 1.36 { 1.37 - mkdir -p $fs/usr/lib/$PACKAGE-$VERSION/defaults/profile/chrome $fs/usr/share $fs/etc 1.38 + mkdir -p $fs/usr/lib/$PACKAGE-$VERSION/defaults/profile/chrome \ 1.39 + $fs/usr/share $fs/etc 1.40 cp -a $_pkg/usr/bin $fs/usr 1.41 cp -a $_pkg/usr/lib/$PACKAGE-$VERSION $fs/usr/lib 1.42 1.43 @@ -65,12 +68,6 @@ 1.44 sed -i s:'pref("browser.EULA.3.accepted", false);':'pref("browser.EULA.3.accepted", true);': \ 1.45 $fs/etc/firefox/pref/firefox.js 1.46 1.47 - # Locale fr 1.48 -# tar xjf stuff/langpack-fr@firefox.mozilla.org.tar.bz2 \ 1.49 -# -C $fs/usr/lib/$PACKAGE-$VERSION/extensions 1.50 - #sed -i "s/maxVersion>3.0../maxVersion>$VERSION/" \ 1.51 - # $fs/usr/lib/$PACKAGE-$VERSION/extensions/langpack*/install.rdf 1.52 - 1.53 # Search Plugin (by: oddball) 1.54 cp -a $stuff/searchplugins $fs/usr/lib/firefox-$VERSION/ 1.55 chown -R root.root $fs 1.56 @@ -83,7 +80,6 @@ 1.57 #retain big firefox libs 1.58 cp $_pkg/usr/lib/$PACKAGE-$VERSION/libxul.so \ 1.59 $fs/usr/lib/$PACKAGE-$VERSION 1.60 - 1.61 } 1.62 1.63 # Pre - Post install command to set default locale. 1.64 @@ -114,4 +110,3 @@ 1.65 done 1.66 rm -rf /tmp/firefox-plugins-$$ 1.67 } 1.68 -