diff options
Diffstat (limited to 'testing/perl-net-whois-ip')
-rw-r--r-- | testing/perl-net-whois-ip/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/perl-net-whois-ip/APKBUILD b/testing/perl-net-whois-ip/APKBUILD new file mode 100644 index 0000000000..9d89270ecd --- /dev/null +++ b/testing/perl-net-whois-ip/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=perl-net-whois-ip +_realname=Net-Whois-IP +pkgver=1.19 +pkgrel=0 +pkgdesc="Perl extension for looking up the whois information for ip addresses" +url="http://search.cpan.org/~bschmitz/Net-Whois-IP/" +arch="noarch" +license="PerlArtistic" +depends="perl " +depends_dev="" +makedepends="perl-dev" +install="" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/B/BS/BSCHMITZ/$_realname-$pkgver.tar.gz" +_builddir="$srcdir"/$_realname-$pkgver + +build() { + cd "$_builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="06b319f4da85f13b3ea757f589f37e17 Net-Whois-IP-1.19.tar.gz" +sha256sums="f09bdfa0f1d2665b534826b5f3a8662349930eed2998efe4d8dbf98813147222 Net-Whois-IP-1.19.tar.gz" +sha512sums="80d1be9dc6c8e9da74df97524f1a804f6ab64f1e016509944b1ba970c2a508e46cd6d633c6cfc2e9fa5d3fc8240500f81cbc90a27bdeab26cb7b590ba97758ae Net-Whois-IP-1.19.tar.gz" |