1 # CPAN Name : Data-Validate-IP
2 # Contributor: Anonymous
3 # Generator : CPANPLUS::Dist::Arch 1.15
5 pkgname='perl-data-validate-ip'
8 pkgdesc="ipv4 and ipv6 validation methods"
10 license=('PerlArtistic' 'GPL')
11 options=('!emptydirs')
12 depends=('perl-net-netmask')
14 url='http://search.cpan.org/dist/Data-Validate-IP'
15 source=('http://search.cpan.org/CPAN/authors/id/N/NE/NEELY/Data-Validate-IP-0.14.tar.gz')
16 md5sums=('bc47f6175e2324a411d05607720ebaaf')
17 _distdir="${srcdir}/Data-Validate-IP-0.14"
20 ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
21 PERL_AUTOINSTALL=--skipdeps \
22 PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
23 PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
24 MODULEBUILDRC=/dev/null
27 /usr/bin/perl Makefile.PL
34 ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
42 find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
49 # vim:set ts=2 sw=2 et: