mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
testing/perl-io-socket-ip: new aport
https://metacpan.org/release/IO-Socket-IP/ Family-neutral IP socket supporting both IPv4 and IPv6
This commit is contained in:
parent
34d67698af
commit
e7b90e24e6
35
testing/perl-io-socket-ip/APKBUILD
Normal file
35
testing/perl-io-socket-ip/APKBUILD
Normal file
@ -0,0 +1,35 @@
|
||||
# Automatically generated by apkbuild-cpan, template 3
|
||||
# Maintainer: psykose <alice@ayaya.dev>
|
||||
pkgname=perl-io-socket-ip
|
||||
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||
_pkgreal=IO-Socket-IP
|
||||
pkgver=0.41
|
||||
pkgrel=0
|
||||
pkgdesc="Family-neutral IP socket supporting both IPv4 and IPv6"
|
||||
url="https://metacpan.org/release/IO-Socket-IP/"
|
||||
arch="noarch"
|
||||
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||
depends="perl"
|
||||
makedepends="perl-dev perl-module-build"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/IO-Socket-IP-$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||
|
||||
build() {
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
perl Build.PL --installdirs=vendor
|
||||
./Build
|
||||
}
|
||||
|
||||
check() {
|
||||
./Build test
|
||||
}
|
||||
|
||||
package() {
|
||||
./Build install --destdir="$pkgdir"
|
||||
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
f9fed6684ccaae3dcc1429d61211a24c2714af390b04a29e5a1362cfd470efc79305d3cb927d4caeb9e85302f248b2989e18332f8bef8022b427a49807f493fd IO-Socket-IP-0.41.tar.gz
|
||||
"
|
Loading…
Reference in New Issue
Block a user