# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/gtkspell/gtkspell-2.0.4-r1.ebuild,v 1.12 2004/08/07 21:32:24 slarti Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/gtkspell/gtkspell-2.0.4-r1.ebuild,v 1.13 2004/11/04 22:54:47 vapier Exp $
inherit eutils
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 sparc ~ppc alpha hppa amd64 ia64 mips"
+KEYWORDS="alpha amd64 arm hppa ia64 mips ppc sparc x86"
IUSE="doc"
RDEPEND=">=x11-libs/gtk+-2
>=app-text/enchant-1"
-
DEPEND="${RDEPEND}
sys-devel/autoconf
doc? ( >=dev-util/gtk-doc-0.6 )"
src_compile() {
- local myconf
-
- use doc \
- && myconf="--enable-gtk-doc" \
- || myconf="--disable-gtk-doc"
-
- econf ${myconf} || die
+ econf $(use_enable doc gtk-doc) || die
emake || die "compile failure"
}