diff options
author | Matt Smith <mcs@darkregion.net> | 2010-11-16 04:30:30 -0600 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-11-16 13:07:11 +0000 |
commit | bd2ddb6dc8122798d94d1797e443e16f1566fffe (patch) | |
tree | f042d6a24dd7ab61404a150590c4423742024942 | |
parent | 879f9d53dc8300aaf2e0b83a5bd5ef3bb755cac3 (diff) | |
download | aports-bd2ddb6dc8122798d94d1797e443e16f1566fffe.tar.bz2 aports-bd2ddb6dc8122798d94d1797e443e16f1566fffe.tar.xz |
main/perl-net-cidr-lite: new aport
-rw-r--r-- | main/perl-net-cidr-lite/APKBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/main/perl-net-cidr-lite/APKBUILD b/main/perl-net-cidr-lite/APKBUILD new file mode 100644 index 0000000000..7efc618c7b --- /dev/null +++ b/main/perl-net-cidr-lite/APKBUILD @@ -0,0 +1,26 @@ +# Contributor: Matt Smith <mcs@darkregion.net> +# Maintainer: Matt Smith <mcs@darkregion.net> +pkgname=perl-net-cidr-lite +_realname=Net-CIDR-Lite +pkgver=0.21 +pkgrel=0 +pkgdesc="Perl extension for merging IPv4 or IPv6 CIDR addresses" +url="http://search.cpan.org/~dougw/Net-CIDR-Lite-0.21/" +license="Unknown" +depends="perl" +makedepends="perl-dev" +install= +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/D/DO/DOUGW/$_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="12280b3754886b876918f03f53aee4f5 Net-CIDR-Lite-0.21.tar.gz" |