# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-perl/glib-perl/glib-perl-1.105.ebuild,v 1.3 2006/04/03 16:26:49 agriffis Exp $ inherit perl-module eutils MY_P=Glib-${PV} S=${WORKDIR}/${MY_P} DESCRIPTION="Glib - Perl wrappers for the GLib utility and Object libraries" HOMEPAGE="http://gtk2-perl.sf.net/" SRC_URI="mirror://cpan/authors/id/T/TS/TSCH/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~hppa ia64 ~ppc ~ppc64 ~sparc x86" IUSE="xml" SRC_TEST="do" RDEPEND=">=x11-libs/gtk+-2 >=dev-libs/glib-2 xml? ( dev-perl/XML-Writer dev-perl/XML-Parser )" DEPEND="${RDEPEND} dev-util/pkgconfig >=dev-perl/extutils-depends-0.205 >=dev-perl/extutils-pkgconfig-1.07" src_unpack() { unpack ${A} cd ${S} # The assert macro has changed in perl 5.8.8 from: # if (...) { ... } # to: # (...) ? ((void) 0) : (...) # The missing semicolon after calling assert caused compilation problems with perl 5.8.8 epatch ${FILESDIR}/gtypes-1.05.patch }