wok view seamonkey/receipt @ rev 4806

Up: seamonkey (2.0.2)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon Jan 18 17:12:36 2010 +0100 (2010-01-18)
parents 4a6c791cfe40
children 470c0f5d35c1
line source
1 # SliTaz package receipt.
3 PACKAGE="seamonkey"
4 #VERSION="1.1.16"
5 VERSION="2.0.2"
6 CATEGORY="network"
7 SHORT_DESC="Seamonkey suite (browser, mail, news reader)."
8 MAINTAINER="pankso@slitaz.org"
9 TARBALL="$PACKAGE-$VERSION.source.tar.bz2"
10 DEPENDS="gtk+ glib jpeg xorg-libX11 libIDL"
11 BUILD_DEPENDS="xorg-dev gtk+-dev zip libIDL coreutils xorg-libXft-dev perl alsa-lib-dev findutils"
12 WEB_SITE="http://www.seamonkey-project.org/"
13 WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/$VERSION/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 #mv mozilla $PACKAGE-$VERSION 2>/dev/null || exit 1
19 mv comm-1.9.1 $PACKAGE-$VERSION 2>/dev/null
20 cp -a stuff/seamonkey.mozconfig $src/.mozconfig
21 cd $src
22 patch -p1 -i ../stuff/google-breakpad.u || exit 1
23 cat >> layout/build/Makefile.in << "EOF"
24 ifdef MOZ_ENABLE_CANVAS
25 EXTRA_DSO_LDOPTS += $(XLDFLAGS) -lX11 -lXrender
26 endif
27 EOF
28 make -f client.mk build
29 make -f client.mk DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/bin $fs/usr/lib $fs/etc
36 cp -a $_pkg/usr/bin/seamonkey $fs/usr/bin
37 cp -a $_pkg/usr/lib/seamonkey-* $fs/usr/lib
38 # Home page, bookmarks file and branding.
39 cp -a stuff/bookmarks.html \
40 $fs/usr/lib/$PACKAGE-$VERSION/defaults/profile
41 # User preference.
42 cp -a stuff/userChrome.css \
43 $fs/usr/lib/$PACKAGE-$VERSION/defaults/profile/chrome
44 # Move default config to /etc/seamonkey (/usr maybe read-only)
45 mv -f $fs/usr/lib/$PACKAGE-$VERSION/defaults $fs/etc/$PACKAGE
46 ln -s /etc/$PACKAGE $fs/usr/lib/$PACKAGE-$VERSION/defaults
47 # Remove unecessary file and set permissions.
48 rm -rf $fs/etc/seamonkey/profile/US
49 chown -R root.root $fs/etc
50 }
52 clean_wok()
53 {
54 rm -rf build
55 }