# Description: Perl Module: Interface to the DNS resolver
# URL: http://search.cpan.org/
# Packager: pierre at nutyx dot org
# Depends on: perl perl-digest-hmac perl-net-ip perl-io-socket-inet6 perl-socket6 
run=( perl )
name=perl-net-dns
version=0.81
release=1

source=(http://www.cpan.org/authors/id/N/NL/NLNETLABS/Net-DNS-$version.tar.gz)

build() {
cd Net-DNS-$version
perl Makefile.PL INSTALLDIRS=vendor
make
make DESTDIR=$PKG install
find $PKG -iname '*.pod' -or \
-name '.packlist' -or \
-name 'perllocal.pod' | xargs rm
}
