mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-16 04:35:13 +03:00
https://metacpan.org/release/IO-Socket-IP/ Family-neutral IP socket supporting both IPv4 and IPv6
35 lines
1 KiB
Text
35 lines
1 KiB
Text
# 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
|
|
"
|