wok-4.x diff seamonkey/receipt @ rev 8922
Fix gob2: add bdep flex
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Mar 01 02:33:54 2011 +0100 (2011-03-01) |
parents | 0b4cf0d9e1b5 |
children | 940b5937e496 |
line diff
1.1 --- a/seamonkey/receipt Mon Feb 14 19:09:46 2011 +0100 1.2 +++ b/seamonkey/receipt Tue Mar 01 02:33:54 2011 +0100 1.3 @@ -14,21 +14,22 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - #mv mozilla $PACKAGE-$VERSION 2>/dev/null || return 1 1.8 + #mv mozilla $PACKAGE-$VERSION 2>/dev/null || exit 1 1.9 mv comm-1.9.1 $PACKAGE-$VERSION 2>/dev/null 1.10 cp -a stuff/seamonkey.mozconfig $src/.mozconfig 1.11 cd $src 1.12 - patch -p1 -i ../stuff/google-breakpad.u || return 1 1.13 - cat >> layout/build/Makefile.in << "EOF" 1.14 + #patch -p1 -i ../stuff/google-breakpad.u || exit 1 1.15 + cat >> mozilla/layout/build/Makefile.in << "EOF" 1.16 ifdef MOZ_ENABLE_CANVAS 1.17 EXTRA_DSO_LDOPTS += $(XLDFLAGS) -lX11 -lXrender 1.18 endif 1.19 EOF 1.20 - make -j 4 -f client.mk build 1.21 - make -f client.mk DESTDIR=$PWD/_pkg install 1.22 - 1.23 - # French suport 1.24 - tar xvzf ../stuff/seamonkey-2.0.2.fr.langpack.tar.gz 1.25 + unset CFLAGS 1.26 + unset CXXFLAGS 1.27 + 1.28 + export LDFLAGS="-Wl,-rpath,/usr/lib/seamonkey-$VERSION" 1.29 + make -j1 -f client.mk build MOZ_MAKE_FLAGS="${MAKEFLAGS}" 1.30 + make -j1 -f client.mk DESTDIR=$DESTDIR install 1.31 } 1.32 1.33 # Rules to gen a SliTaz package suitable for Tazpkg. 1.34 @@ -50,10 +51,6 @@ 1.35 rm -rf $fs/etc/seamonkey/profile/US 1.36 chown -R root.root $fs/etc 1.37 1.38 - # Add french langpack 1.39 - mkdir $fs/usr/lib/$PACKAGE-$VERSION/extensions/langpack-fr@seamonkey.mozilla.org 1.40 - cp -pa $src/seamonkey-2.0.2.fr.langpack/* \ 1.41 - $fs/usr/lib/$PACKAGE-$VERSION/extensions/langpack-fr@seamonkey.mozilla.org 1.42 # Create default user preference file 1.43 cp stuff/prefs.js $fs/etc/seamonkey/profile/prefs.js 1.44