aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-netaddr-ip/APKBUILD
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@gmail.com>2009-08-19 07:13:13 +0000
committerLeonardo Arena <rnalrd@gmail.com>2009-08-19 07:13:13 +0000
commit14ed69acab7ef32d70e26261eaa45117cd2e23d2 (patch)
treeb3a5395ff52bacb36b19d0dc75b92c665723ddd1 /main/perl-netaddr-ip/APKBUILD
parent642737c0f027123a566abb8c7c6058aa346ac0aa (diff)
downloadaports-14ed69acab7ef32d70e26261eaa45117cd2e23d2.tar.bz2
aports-14ed69acab7ef32d70e26261eaa45117cd2e23d2.tar.xz
main/perl-netaddr-ip: new aport
Diffstat (limited to 'main/perl-netaddr-ip/APKBUILD')
-rw-r--r--main/perl-netaddr-ip/APKBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/main/perl-netaddr-ip/APKBUILD b/main/perl-netaddr-ip/APKBUILD
new file mode 100644
index 0000000000..c1e687de00
--- /dev/null
+++ b/main/perl-netaddr-ip/APKBUILD
@@ -0,0 +1,26 @@
+# Contributor: Leonardo Arena <rnalrd@gmail.com>
+# Maintainer: Leonardo Arena <rnalrd@gmail.com>
+pkgname=perl-netaddr-ip
+_realname=NetAddr-IP
+pkgver=4.027
+pkgrel=0
+pkgdesc="Perl extension for managing IPv4 and IPv6 addresses and subnets"
+url="http://search.cpan.org/~miker/NetAddr-IP-$pkgver/"
+license="Unknown"
+depends="perl"
+makedepends="perl-dev"
+install=
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/M/MI/MIKER/$_realname-$pkgver.tar.gz"
+
+build() {
+ cd "$srcdir/$_realname-$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="c4a21a76e5b1b9f4c8e9810b78559d7b NetAddr-IP-4.027.tar.gz"