description="Perl Module: Easy manipulation of IPv4 and IPv6 addresses"
url="http://search.cpan.org/dist/Net-IP/"

packager="Great-OS Team"

makedepends=(perl)
run=(perl)

name=perl-net-ip
version=1.26
release=3

source=(http://www.cpan.org/authors/id/M/MA/MANU/Net-IP-$version.tar.gz)

build() {
cd Net-IP-$version

PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor

make
make DESTDIR=$PKG install

find $PKG -iname '*.pod' -or \
-name '.packlist' -or \
-name 'perllocal.pod' | xargs rm
}
