diff options
author | Leonardo Arena <rnalrd@gmail.com> | 2010-12-17 14:24:51 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@gmail.com> | 2010-12-17 14:24:51 +0000 |
commit | 57b5c88ec3337c90819275176f41c79f5bde8c00 (patch) | |
tree | 0908bdf15158f7987741ce87cc0a9fb07db0d32b | |
parent | f7e7d3b21e9b8a400598a7078d0f1e1a648050c4 (diff) | |
parent | 7d9a900d53ed08dbcab1211b6161501775f73906 (diff) | |
download | aports-57b5c88ec3337c90819275176f41c79f5bde8c00.tar.bz2 aports-57b5c88ec3337c90819275176f41c79f5bde8c00.tar.xz |
Merge branch 'master' of ../aports-larena
-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" |