aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-netaddr-ip
diff options
context:
space:
mode:
Diffstat (limited to 'main/perl-netaddr-ip')
-rw-r--r--main/perl-netaddr-ip/APKBUILD17
1 files changed, 13 insertions, 4 deletions
diff --git a/main/perl-netaddr-ip/APKBUILD b/main/perl-netaddr-ip/APKBUILD
index 03cbd97fda..830f092033 100644
--- a/main/perl-netaddr-ip/APKBUILD
+++ b/main/perl-netaddr-ip/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Leonardo Arena <rnalrd@gmail.com>
pkgname=perl-netaddr-ip
_realname=NetAddr-IP
-pkgver=4.034
+pkgver=4.037
pkgrel=0
pkgdesc="Perl extension for managing IPv4 and IPv6 addresses and subnets"
url="http://search.cpan.org/~miker/NetAddr-IP-$pkgver/"
@@ -14,14 +14,23 @@ install=
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/M/MI/MIKER/$_realname-$pkgver.tar.gz"
-build() {
- cd "$srcdir/$_realname-$pkgver"
+_builddir="$srcdir/$_realname-$pkgver"
+
+prepare() {
+ return 0
+}
+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
# creates file collision among perl modules
find "$pkgdir" -name perllocal.pod -delete
}
-md5sums="830b05a730ee4dfdde528e3100e92024 NetAddr-IP-4.034.tar.gz"
+md5sums="d966eac6b5941af3f7c1fad839569cb4 NetAddr-IP-4.037.tar.gz"