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