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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Thu Dec 6 12:22:52 2007 UTC (10 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.3.19)

1 # Copyright 1999-2007 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.6.ebuild,v 1.3 2007/11/12 17:28:15 drac 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.mozilla.org/projects/seamonkey/"
10 RESTRICT="strip"
11
12 KEYWORDS="-* amd64 x86"
13 SLOT="0"
14 LICENSE="MPL-1.1 GPL-2 LGPL-2.1"
15 IUSE=""
16
17 DEPEND="app-arch/unzip"
18 RDEPEND="x11-libs/libXrender
19 x11-libs/libXt
20 x11-libs/libXmu
21 x86? (
22 >=x11-libs/gtk+-2.2
23 =virtual/libstdc++-3.3
24 )
25 amd64? (
26 >=app-emulation/emul-linux-x86-baselibs-1.0
27 >=app-emulation/emul-linux-x86-gtklibs-1.0
28 app-emulation/emul-linux-x86-compat
29 )
30 >=www-client/mozilla-launcher-1.56"
31
32 S="${WORKDIR}/seamonkey"
33
34 pkg_setup() {
35 # This is a binary x86 package => ABI=x86
36 # Please keep this in future versions
37 # Danny van Dyk <kugelfang@gentoo.org> 2005/03/26
38 has_multilib_profile && ABI="x86"
39 }
40
41 src_install() {
42 declare MOZILLA_FIVE_HOME=/opt/seamonkey
43
44 # Install seamonkey in /opt
45 dodir ${MOZILLA_FIVE_HOME%/*}
46 mv ${S} ${D}${MOZILLA_FIVE_HOME}
47
48 # Install /usr/bin/seamonkey-bin
49 install_mozilla_launcher_stub seamonkey-bin ${MOZILLA_FIVE_HOME}
50
51 # Install icon and .desktop for menu entry
52 doicon ${FILESDIR}/icon/${PN}.png
53 domenu ${FILESDIR}/icon/${PN}.desktop
54 }
55
56 pkg_preinst() {
57 declare MOZILLA_FIVE_HOME=/opt/seamonkey
58
59 # Remove entire installed instance to prevent all kinds of
60 # problems... see bug 44772 for example
61 rm -rf "${ROOT}${MOZILLA_FIVE_HOME}"
62 }
63
64 pkg_postinst() {
65 use amd64 && einfo "NB: You just installed a 32-bit seamonkey"
66 update_mozilla_launcher_symlinks
67 }
68
69 pkg_postrm() {
70 update_mozilla_launcher_symlinks
71 }

  ViewVC Help
Powered by ViewVC 1.1.20