Lines 1-6
Link Here
|
1 |
# Copyright 1999-2007 Gentoo Foundation |
1 |
# Copyright 1999-2007 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/www-client/galeon/galeon-2.0.3.ebuild,v 1.6 2007/10/09 15:22:51 angelos Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/www-client/galeon/galeon-2.0.3.ebuild,v 1.1 2007/04/11 01:38:17 hanno Exp $ |
4 |
|
4 |
|
5 |
inherit gnome2 eutils |
5 |
inherit gnome2 eutils |
6 |
|
6 |
|
Lines 9-22
Link Here
|
9 |
SRC_URI="mirror://sourceforge/galeon/${P}.tar.bz2" |
9 |
SRC_URI="mirror://sourceforge/galeon/${P}.tar.bz2" |
10 |
|
10 |
|
11 |
LICENSE="GPL-2" |
11 |
LICENSE="GPL-2" |
12 |
IUSE="seamonkey xulrunner" |
12 |
IUSE="seamonkey firefox xulrunner" |
13 |
KEYWORDS="amd64 ia64 ppc sparc x86" |
13 |
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86" |
14 |
SLOT="0" |
14 |
SLOT="0" |
15 |
RDEPEND="xulrunner? ( >=net-libs/xulrunner-1.8 ) |
15 |
RDEPEND="seamonkey? ( www-client/seamonkey ) |
16 |
!xulrunner? ( |
16 |
firefox? ( >=www-client/mozilla-firefox-1.5.0.4 ) |
17 |
seamonkey? ( www-client/seamonkey ) |
17 |
xulrunner? (net-libs/xulrunner) |
18 |
!seamonkey? ( >=www-client/mozilla-firefox-1.5.0.4 ) |
|
|
19 |
) |
20 |
>=dev-libs/glib-2 |
18 |
>=dev-libs/glib-2 |
21 |
>=x11-libs/gtk+-2.4.0 |
19 |
>=x11-libs/gtk+-2.4.0 |
22 |
>=dev-libs/libxml2-2.6.6 |
20 |
>=dev-libs/libxml2-2.6.6 |
Lines 43-55
Link Here
|
43 |
} |
41 |
} |
44 |
|
42 |
|
45 |
src_compile() { |
43 |
src_compile() { |
46 |
if use xulrunner; then |
44 |
use seamonkey && myconf="--with-mozilla=seamonkey" |
47 |
myconf="--with-mozilla=xulrunner" |
45 |
use firefox && myconf="--with-mozilla=seamonkey" |
48 |
elif use seamonkey; then |
46 |
use xulrunner && myconf="--with-mozilla=xulrunner" |
49 |
myconf="--with-mozilla=seamonkey" |
|
|
50 |
else |
51 |
myconf="--with-mozilla=firefox" |
52 |
fi |
53 |
|
47 |
|
54 |
econf ${myconf} || die "configure failed" |
48 |
econf ${myconf} || die "configure failed" |
55 |
emake || die "compile failed" |
49 |
emake || die "compile failed" |