# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/portage/app-text/gtkspell/gtkspell-2.0.9.ebuild,v 1.1.1.1 2005/02/25 04:19:33 yaakov Exp $ inherit eutils gnome2 DESCRIPTION="Spell-checking library for GTK2" HOMEPAGE="http://gtkspell.sourceforge.net/" SRC_URI="http://gtkspell.sourceforge.net/download/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~sparc ~ppc ~alpha ~hppa ~amd64 ~ia64" IUSE="doc nls" RDEPEND=">=x11-libs/gtk+-2 virtual/aspell-dict" DEPEND="${RDEPEND} doc? ( >=dev-util/gtk-doc-1.0 ) nls? ( sys-devel/gettext )" DOCS="AUTHORS ChangeLog README" USE_DESTDIR="1" src_unpack() { unpack ${A} cd ${S} # fix gtk-doc check and install devhelp epatch ${FILESDIR}/2.0-gtk-doc.patch || die WANT_AUTOMAKE="1.7" autoreconf -f -i -v || die "autoreconf error" }