diff options
author | Stuart Cardall <developer@it-offshore.co.uk> | 2016-09-03 00:21:15 +0000 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2016-09-03 13:14:06 +0200 |
commit | 0b4f85ddb34c5958bbfeba1ba2a492399f03f0b9 (patch) | |
tree | 77b7950aa506a79ff957b150a15b116cafe93cbf /community/perl-net-ipv4addr | |
parent | c05bc0aca55e2a882ee640b27071d7fd3b5f6d62 (diff) | |
download | aports-0b4f85ddb34c5958bbfeba1ba2a492399f03f0b9.tar.bz2 aports-0b4f85ddb34c5958bbfeba1ba2a492399f03f0b9.tar.xz |
community/perl-net-ipv4addr: move from unmaintained, claim maintainership
Diffstat (limited to 'community/perl-net-ipv4addr')
-rw-r--r-- | community/perl-net-ipv4addr/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/perl-net-ipv4addr/APKBUILD b/community/perl-net-ipv4addr/APKBUILD new file mode 100644 index 0000000000..76ebc5af15 --- /dev/null +++ b/community/perl-net-ipv4addr/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Stuart Cardall <developer@it-offshore.co.uk> +pkgname=perl-net-ipv4addr +_realname=Net-IPv4Addr +pkgver=0.10 +pkgrel=1 +pkgdesc="Perl extension for manipulating IPv4 addresses" +url="http://search.cpan.org/~frajulac/Net-IPv4Addr/" +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" +sha256sums="3845de4f30b17c842b192cace8879dbb6214de9692cfa70f0aaf0981422a63fe Net-IPv4Addr-0.10.tar.gz" +sha512sums="66381f9be27c010721970d1af245885379bcc0b57c4c1179fc00e89a53a2d53e7836789b13d4c5f0079fac63d7987e12ee71f3168517ea5e1064d5fe1f7455af Net-IPv4Addr-0.10.tar.gz" |