summaryrefslogtreecommitdiffstats
path: root/testing/perl-net-rblcient/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/perl-net-rblcient/APKBUILD')
-rw-r--r--testing/perl-net-rblcient/APKBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/perl-net-rblcient/APKBUILD b/testing/perl-net-rblcient/APKBUILD
new file mode 100644
index 000000000..e68eaae29
--- /dev/null
+++ b/testing/perl-net-rblcient/APKBUILD
@@ -0,0 +1,26 @@
+# Contributor: Michael Mason <ms13sp@gmail.com>
+# Maintainer: Michael Mason <ms13sp@gmail.com>
+pkgname=perl-net-rblclient
+_realname=Net-RBLClient
+pkgver=0.5
+pkgrel=0
+pkgdesc="Queries multiple Realtime Blackhole Lists in parallel"
+url="http://search.cpan.org/dist/Net-RBLClient/"
+license="unknown"
+depends="perl"
+makedepends="perl-dev"
+install=
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/A/AB/ABLUM/$_realname-$pkgver.tar.gz"
+
+build() {
+ cd "$srcdir/RBLCLient-$pkgver"
+
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+ make || return 1
+ make DESTDIR="$pkgdir" install
+ # creates file collision among perl modules
+ find "$pkgdir" -name perllocal.pod -delete
+}
+
+md5sums="1fb9961106cbb5a6eb2257762847e502 Net-RBLClient-0.5.tar.gz"