# Description: Perl module to manage IP addresses and subnets
# URL: http://search.cpan.org/
# Packager: pierre at nutyx dot org
# Depends on: perl 
run=( perl )
name=perl-netaddr-ip
version=4.075
release=1

source=(http://search.cpan.org/CPAN/authors/id/M/MI/MIKER/NetAddr-IP-$version.tar.gz)

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