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