# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-perl/gtk2-spell/gtk2-spell-1.03.ebuild,v 1.18 2010/04/19 11:28:37 tove Exp $ EAPI=3 MY_PN=Gtk2-Spell MY_P=${MY_PN}-${PV} S=${WORKDIR}/${MY_P} MODULE_AUTHOR=MLEHMANN inherit perl-module DESCRIPTION="Bindings for GtkSpell with Gtk2.x" HOMEPAGE="http://gtk2-perl.sf.net/ ${HOMEPAGE}" SLOT="0" LICENSE="LGPL-2.1" KEYWORDS="alpha amd64 hppa ia64 ~ppc sparc x86 ~amd64-linux ~x86-linux ~x86-solaris" IUSE="" RDEPEND=">=x11-libs/gtk+-2 >=app-text/gtkspell-2 >=dev-perl/glib-perl-1.012 >=dev-perl/gtk2-perl-1.012" DEPEND="${RDEPEND} dev-perl/extutils-depends dev-perl/extutils-pkgconfig dev-util/pkgconfig" src_prepare() { # Without this it cannot find gtkspell sed -ie "s:\#my:my:g" "${S}"/Makefile.PL || die "sed failed" # Fix non-numeric dependencies error with perl-5.12 (bug #328723) sed -ie "s:1.00rc2:1.00:g" "${S}"/Makefile.PL || die "sed failed" perl-module_src_prepare }