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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Feb 12 23:24:02 2012 UTC (6 years, 9 months ago) by anarchy
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Security bump, bug #403183

(Portage version: 2.1.10.46/cvs/Linux x86_64)

1 # Copyright 1999-2011 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-2.0.14.ebuild,v 1.3 2011/05/01 16:50:16 phajdan.jr Exp $
4
5 EAPI="1"
6
7 inherit eutils mozilla-launcher multilib
8
9 MY_PV="${PV/_alpha/a}"
10 MY_P="${PN}-${MY_PV}"
11
12 DESCRIPTION="Mozilla Application Suite - web browser, email, HTML editor, IRC"
13 SRC_URI="http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/${MY_PV}/linux-i686/en-US/seamonkey-${MY_PV}.tar.bz2"
14 HOMEPAGE="http://www.seamonkey-project.org/"
15 RESTRICT="strip"
16 QA_EXECSTACK="opt/seamonkey/*"
17
18 KEYWORDS="-* amd64 x86"
19 SLOT="0"
20 LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )"
21 IUSE=""
22
23 DEPEND="app-arch/unzip"
24 RDEPEND="dev-libs/dbus-glib
25 x11-libs/libXrender
26 x11-libs/libXt
27 x11-libs/libXmu
28 x86? (
29 >=x11-libs/gtk+-2.2:2
30 >=media-libs/alsa-lib-1.0.16
31 )
32 amd64? (
33 >=app-emulation/emul-linux-x86-baselibs-20081109
34 >=app-emulation/emul-linux-x86-gtklibs-20081109
35 >=app-emulation/emul-linux-x86-soundlibs-20081109
36 )
37 !<www-client/seamonkey-bin-2"
38
39 S="${WORKDIR}/seamonkey"
40
41 pkg_setup() {
42 # This is a binary x86 package => ABI=x86
43 # Please keep this in future versions
44 # Danny van Dyk <kugelfang@gentoo.org> 2005/03/26
45 has_multilib_profile && ABI="x86"
46 }
47
48 src_install() {
49 declare MOZILLA_FIVE_HOME=/opt/seamonkey
50
51 # Install seamonkey in /opt
52 dodir ${MOZILLA_FIVE_HOME%/*}
53 mv "${S}" "${D}${MOZILLA_FIVE_HOME}"
54
55 # Create /usr/bin/seamonkey-bin
56 dodir /usr/bin/
57 cat <<EOF >"${D}"/usr/bin/seamonkey-bin
58 #!/bin/sh
59 unset LD_PRELOAD
60 exec /opt/seamonkey/seamonkey "\$@"
61 EOF
62 fperms 0755 /usr/bin/seamonkey-bin
63
64 # Install icon and .desktop for menu entry
65 doicon "${FILESDIR}/icon/${PN}.png"
66 domenu "${FILESDIR}/icon/${PN}.desktop"
67 }
68
69 pkg_preinst() {
70 declare MOZILLA_FIVE_HOME=/opt/seamonkey
71
72 # Remove entire installed instance to prevent all kinds of
73 # problems... see bug 44772 for example
74 rm -rf "${ROOT}${MOZILLA_FIVE_HOME}"
75 }
76
77 pkg_postinst() {
78 use amd64 && einfo "NB: You just installed a 32-bit seamonkey"
79
80 einfo
81 einfo "If you want/need native language support please download"
82 einfo "and install the language pack that you need from :"
83 einfo "http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/${MY_PV}/langpack/"
84 }

  ViewVC Help
Powered by ViewVC 1.1.20