wok-6.x annotate seamonkey/receipt @ rev 3450

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