# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-perl/Net-DNS/Net-DNS-0.66-r1.ebuild,v 1.11 2011/01/13 17:00:37 ranger Exp $ EAPI=2 MODULE_AUTHOR=OLAF inherit perl-module DESCRIPTION="Perl Net::DNS - Perl DNS Resolver Module" LICENSE="|| ( Artistic GPL-2 )" SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" IUSE="ipv6 test" RDEPEND="virtual/perl-Digest-MD5 dev-perl/Digest-HMAC virtual/perl-Digest-SHA dev-perl/Net-IP ipv6? ( dev-perl/IO-Socket-INET6 ) virtual/perl-MIME-Base64" DEPEND="${RDEPEND} test? ( virtual/perl-Test-Simple dev-perl/Test-Pod )" PATCHES=( ${FILESDIR}/${PN}-0.64-ar.patch ) SRC_TEST="do" src_prepare() { perl-module_src_prepare mydoc="TODO" if use ipv6 ; then myconf="--IPv6-tests" else myconf="--no-IPv6-tests" fi myconf="${myconf} --no-online-tests" }