wok-next view seamonkey/receipt @ rev 4784

Add: vim-tiny (textmode only).
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Jan 16 22:55:00 2010 +0100 (2010-01-16)
parents 3dce3a64acf3
children 4a6c791cfe40
line source
1 # SliTaz package receipt.
3 PACKAGE="seamonkey"
4 VERSION="2.0.2"
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/source/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 mv comm-1.9.1 $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 }