wok view seamonkey/receipt @ rev 4033

Update: xorg X11 and Xrender devs (DEPENDS)
author Matthew Sheets <rcx@zoominternet.net>
date Mon Sep 07 16:53:32 2009 +0000 (2009-09-07)
parents 7655d57def07
children 734283599021
line source
1 # SliTaz package receipt.
3 PACKAGE="seamonkey"
4 VERSION="1.1.16"
5 CATEGORY="network"
6 SHORT_DESC="Seamonkey suite (browser, mail, news reader)."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.source.tar.bz2"
9 DEPENDS="gtk+ glib jpeg xorg-libX11 libIDL"
10 BUILD_DEPENDS="xorg-dev gtk+-dev zip libIDL coreutils findutils xorg-libXft-dev perl"
11 WEB_SITE="http://www.seamonkey-project.org/"
12 WGET_URL="http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/$VERSION/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 mv mozilla $PACKAGE-$VERSION 2>/dev/null
18 cp -a stuff/seamonkey.mozconfig $src/.mozconfig
19 cd $src
20 cat >> layout/build/Makefile.in << "EOF"
21 ifdef MOZ_ENABLE_CANVAS
22 EXTRA_DSO_LDOPTS += $(XLDFLAGS) -lX11 -lXrender
23 endif
24 EOF
25 make -f client.mk build
26 make -f client.mk DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin $fs/usr/lib $fs/etc
33 cp -a $_pkg/usr/bin/seamonkey $fs/usr/bin
34 cp -a $_pkg/usr/lib/seamonkey-* $fs/usr/lib
35 # Home page, bookmarks file and branding.
36 cp -a stuff/bookmarks.html \
37 $fs/usr/lib/$PACKAGE-$VERSION/defaults/profile
38 # User preference.
39 cp -a stuff/userChrome.css \
40 $fs/usr/lib/$PACKAGE-$VERSION/defaults/profile/chrome
41 # Move default config to /etc/seamonkey (/usr maybe read-only)
42 mv -f $fs/usr/lib/$PACKAGE-$VERSION/defaults $fs/etc/$PACKAGE
43 ln -s /etc/$PACKAGE $fs/usr/lib/$PACKAGE-$VERSION/defaults
44 # Remove unecessary file and set permissions.
45 rm -rf $fs/etc/seamonkey/profile/US
46 chown -R root.root $fs/etc
47 }
49 clean_wok()
50 {
51 rm -rf build
52 }