diff options
author | Leonardo Arena <rnalrd@gmail.com> | 2010-12-17 14:20:45 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@gmail.com> | 2010-12-17 14:23:55 +0000 |
commit | e393f725ce5a4822d22ad4586944ec78bb39db5c (patch) | |
tree | 871d98c1c196aeca8bbb47f655b6f96a741ad840 /main/perl-netaddr-ip/APKBUILD | |
parent | 8dc03be4a6184dd62d30f559d49f6f0bd8563319 (diff) | |
download | aports-e393f725ce5a4822d22ad4586944ec78bb39db5c.tar.bz2 aports-e393f725ce5a4822d22ad4586944ec78bb39db5c.tar.xz |
main/perl-netaddr-ip: upgrade to 4.037
Diffstat (limited to 'main/perl-netaddr-ip/APKBUILD')
-rw-r--r-- | main/perl-netaddr-ip/APKBUILD | 17 |
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" |