Add 'perl-net-ip-xs/' from commit '7aa18bb0f0aaa3810709cced6f951dd98d80b947'

git-subtree-dir: perl-net-ip-xs
git-subtree-mainline: b2adeb81ac
git-subtree-split: 7aa18bb0f0
This commit is contained in:
Cedric Girard 2019-02-14 15:32:30 +01:00
commit 8cb2e82540
2 changed files with 59 additions and 0 deletions

22
perl-net-ip-xs/.SRCINFO Normal file
View file

@ -0,0 +1,22 @@
# Generated by mksrcinfo v8
# Tue Nov 24 10:19:27 UTC 2015
pkgbase = perl-net-ip-xs
pkgdesc = XS implementation of Net::IP
pkgver = 0.16
pkgrel = 1
url = https://metacpan.org/release/Net-IP-XS
arch = i686
arch = x86_64
license = GPL
license = PerlArtistic
depends = perl>=5.10.0
depends = perl-tie-simple
depends = perl-math-bigint
depends = perl-ip-country
depends = perl-io-capture
options = !emptydirs
source = http://cpan.perl.org/modules/by-authors/id/T/TO/TOMHRR/Net-IP-XS-0.16.tar.gz
md5sums = 01e9e5be15b2a643274aadbc1269cbfe
pkgname = perl-net-ip-xs

37
perl-net-ip-xs/PKGBUILD Normal file
View file

@ -0,0 +1,37 @@
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
_author=TOMHRR
_perlmod=Net-IP-XS
pkgname=perl-net-ip-xs
pkgver=0.16
pkgrel=1
pkgdesc="XS implementation of Net::IP"
arch=('i686' 'x86_64')
url="https://metacpan.org/release/$_perlmod"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0' 'perl-tie-simple' 'perl-math-bigint' 'perl-ip-country' 'perl-io-capture')
options=(!emptydirs)
source=(http://cpan.perl.org/modules/by-authors/id/${_author:0:1}/${_author:0:2}/$_author/$_perlmod-$pkgver.tar.gz)
md5sums=('01e9e5be15b2a643274aadbc1269cbfe')
build() {
cd "$srcdir/$_perlmod-$pkgver"
# Install module in vendor directories.
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "$srcdir/$_perlmod-$pkgver"
make test
}
package() {
cd "$srcdir/$_perlmod-$pkgver"
make install DESTDIR="$pkgdir/"
}
# vim:set ts=2 sw=2 et: