# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/perl-core/libnet/libnet-1.22.ebuild,v 1.11 2010/02/03 00:23:30 hanno Exp $ inherit eutils perl-module DESCRIPTION="A URI Perl Module" HOMEPAGE="http://search.cpan.org/~gbarr/" SRC_URI="mirror://cpan/authors/id/G/GB/GBARR/${P}.tar.gz" SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="sasl" SRC_TEST="do" DEPEND="dev-lang/perl sasl? ( dev-perl/Authen-SASL )" src_unpack() { perl-module_src_unpack cd "${S}" cp "${FILESDIR}"/libnet.cfg "${S}" epatch "${FILESDIR}"/${PV}-hostname.patch }