diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2016-02-03 07:24:11 +0000 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-02-15 22:36:46 +0100 |
commit | 3167e8b70f044fa82fea843946de3e216e9f1a54 (patch) | |
tree | bb0a20b692ae9be73b8f69baee9dbbbbe33819e1 /testing/perl-net-whois-ip | |
parent | 530fdcbf9f8986c05b846efbe77fb9eed9dee10e (diff) | |
download | aports-3167e8b70f044fa82fea843946de3e216e9f1a54.tar.bz2 aports-3167e8b70f044fa82fea843946de3e216e9f1a54.tar.xz |
testing/perl-net-whois-ip: new aport
Perl extension for looking up the whois information for ip addresses
http://search.cpan.org/~bschmitz/Net-Whois-IP/
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" |