/[gentoo-x86]/www-client/seamonkey-bin/seamonkey-bin-1.1.16.ebuild
Gentoo

Contents of /www-client/seamonkey-bin/seamonkey-bin-1.1.16.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon Jun 29 18:42:46 2009 UTC (9 years, 2 months ago) by armin76
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.1.6.13/cvs/Linux ia64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey-bin/seamonkey-bin-1.1.16.ebuild,v 1.3 2009/04/10 13:25:38 armin76 Exp $
4
5 inherit eutils mozilla-launcher multilib
6
7 DESCRIPTION="Mozilla Application Suite - web browser, email, HTML editor, IRC"
8 SRC_URI="http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/${PV}/seamonkey-${PV}.en-US.linux-i686.tar.gz"
9 HOMEPAGE="http://www.seamonkey-project.org/"
10 RESTRICT="strip"
11 QA_EXECSTACK="opt/seamonkey/*"
12
13 KEYWORDS="-* amd64 x86"
14 SLOT="0"
15 LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )"
16 IUSE=""
17
18 DEPEND="app-arch/unzip"
19 RDEPEND="x11-libs/libXrender
20 x11-libs/libXt
21 x11-libs/libXmu
22 x86? (
23 >=x11-libs/gtk+-2.2
24 =virtual/libstdc++-3.3
25 )
26 amd64? (
27 >=app-emulation/emul-linux-x86-baselibs-1.0
28 >=app-emulation/emul-linux-x86-gtklibs-1.0
29 app-emulation/emul-linux-x86-compat
30 )
31 >=www-client/mozilla-launcher-1.56"
32
33 S="${WORKDIR}/seamonkey"
34
35 pkg_setup() {
36 # This is a binary x86 package => ABI=x86
37 # Please keep this in future versions
38 # Danny van Dyk <kugelfang@gentoo.org> 2005/03/26
39 has_multilib_profile && ABI="x86"
40 }
41
42 src_install() {
43 declare MOZILLA_FIVE_HOME=/opt/seamonkey
44
45 # Install seamonkey in /opt
46 dodir ${MOZILLA_FIVE_HOME%/*}
47 mv "${S}" "${D}${MOZILLA_FIVE_HOME}"
48
49 # Install /usr/bin/seamonkey-bin
50 install_mozilla_launcher_stub seamonkey-bin ${MOZILLA_FIVE_HOME}
51
52 # Install icon and .desktop for menu entry
53 doicon "${FILESDIR}/icon/${PN}.png"
54 domenu "${FILESDIR}/icon/${PN}.desktop"
55 }
56
57 pkg_preinst() {
58 declare MOZILLA_FIVE_HOME=/opt/seamonkey
59
60 # Remove entire installed instance to prevent all kinds of
61 # problems... see bug 44772 for example
62 rm -rf "${ROOT}${MOZILLA_FIVE_HOME}"
63 }
64
65 pkg_postinst() {
66 use amd64 && einfo "NB: You just installed a 32-bit seamonkey"
67 update_mozilla_launcher_symlinks
68 }
69
70 pkg_postrm() {
71 update_mozilla_launcher_symlinks
72 }

  ViewVC Help
Powered by ViewVC 1.1.20