aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-net-ipv4addr
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2011-07-08 22:42:08 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2011-12-03 14:49:16 -0600
commit9f988a675db5d0190f4a8728d36e7fabbe845023 (patch)
treef0fb7de9eb509cbf86c0ef0503fbde181c471eaa /testing/perl-net-ipv4addr
parent4c200e98f68b4c857d9a29ebf9ea7416505b6d51 (diff)
downloadaports-9f988a675db5d0190f4a8728d36e7fabbe845023.tar.bz2
aports-9f988a675db5d0190f4a8728d36e7fabbe845023.tar.xz
Initial APKBUILD for perl-net-ipv4addr
Diffstat (limited to 'testing/perl-net-ipv4addr')
-rw-r--r--testing/perl-net-ipv4addr/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/perl-net-ipv4addr/APKBUILD b/testing/perl-net-ipv4addr/APKBUILD
new file mode 100644
index 0000000000..4f6aa28d21
--- /dev/null
+++ b/testing/perl-net-ipv4addr/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer:
+pkgname=perl-net-ipv4addr
+_realname=Net-IPv4Addr
+pkgver=0.10
+pkgrel=0
+pkgdesc="Perl extension for manipulating IPv4 addresses"
+url="http://search.cpan.org/~frajulac/Net-IPv4Addr-0.10/"
+arch="noarch"
+license="PerlArtistic"
+depends="perl "
+depends_dev=""
+makedepends="perl-dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/F/FR/FRAJULAC/$_realname-$pkgver.tar.gz"
+_builddir="$srcdir"/$_realname-$pkgver
+
+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 || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="57aa8e28ebcd4c0c9f15792740e53d3c Net-IPv4Addr-0.10.tar.gz"