wok-6.x view seamonkey/receipt @ rev 20279
8086tiny: fix DAA/DAS/shift opcodes
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 23 13:08:29 2018 +0100 (2018-03-23) |
parents | 0d193e839425 |
children | 85f7b2a6da7d |
line source
1 # SliTaz package receipt.
3 PACKAGE="seamonkey"
4 VERSION="2.7.2"
5 CATEGORY="network"
6 SHORT_DESC="Seamonkey suite (browser, mail, news reader)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL MPL"
9 TARBALL="$PACKAGE-$VERSION.source.tar.bz2"
10 WEB_SITE="http://www.seamonkey-project.org/"
11 WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/$VERSION/source/$TARBALL"
12 TAGS="web-browser"
14 DEPENDS="gtk+ glib jpeg xorg-libX11 libIDL alsa-lib xorg-libXt curl libnotify \
15 libevent libvpx"
16 BUILD_DEPENDS="gtk+-dev zip libIDL coreutils xorg-libXft-dev libevent-dev \
17 libvpx-dev perl alsa-lib alsa-lib-dev findutils python python-dev \
18 wireless_tools-dev mesa-dev yasm libnotify-dev curl-dev hunspell-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 grep -rsl 'uname -m' $src | xargs sed -i 's|uname -m|echo i686|'
24 cp -a $stuff/seamonkey.mozconfig $src/.mozconfig
25 cd $src
26 sed -i -e 's/USE_INPUT_PARTITION/USE_INPUT_FRAGMENTS/' \
27 -e 's/0.9.7/1.0.0/' mozilla/configure.in mozilla/configure
28 #patch -p1 -i $stuff/google-breakpad.u || exit 1
29 cat >> mozilla/layout/build/Makefile.in << "EOF"
30 ifdef MOZ_ENABLE_CANVAS
31 EXTRA_DSO_LDOPTS += $(XLDFLAGS) -lX11 -lXrender
32 endif
33 EOF
34 unset CFLAGS
35 unset CXXFLAGS
36 patch -Np1 -i $stuff/seamonkey-2.0-lang.patch
37 patch -Np1 -i $stuff/seamonkey-install-dir.patch
38 export LDFLAGS="$LDFLAGS -Wl,-rpath,/usr/lib/seamonkey"
39 ./configure $CONFIGURE_ARGS 2>&1 | grep -v 'cthandlers/calendar/Makefile.in' &&
40 make &&
41 make DESTDIR=$DESTDIR install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr/bin $fs/usr/lib $fs/etc
48 cp -a $install/usr/bin/seamonkey $fs/usr/bin
49 cp -a $install/usr/lib/seamonkey $fs/usr/lib
50 # Home page, bookmarks file and branding.
51 cp -a $stuff/bookmarks.html \
52 $fs/usr/lib/$PACKAGE/defaults/profile
53 # User preference.
54 cp -a $stuff/userChrome.css \
55 $fs/usr/lib/$PACKAGE/defaults/profile/chrome
56 # Move default config to /etc/seamonkey (/usr maybe read-only)
57 mv -f $fs/usr/lib/$PACKAGE/defaults $fs/etc/$PACKAGE
58 ln -sf /etc/$PACKAGE $fs/usr/lib/$PACKAGE/defaults
59 # Remove unecessary file and set permissions.
60 rm -rf $fs/etc/seamonkey/profile/US
61 chown -R root.root $fs/etc
63 # Create default user preference file
64 cp $stuff/prefs.js $fs/etc/seamonkey/profile/prefs.js
65 }