mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 18:25:41 +03:00
37 lines
1.2 KiB
Text
37 lines
1.2 KiB
Text
# Automatically generated by apkbuild-cpan, template 3
|
|
# Contributor: Celeste <cielesti@protonmail.com>
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
pkgname=perl-io-async-resolver-dns
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=IO-Async-Resolver-DNS
|
|
pkgver=0.06
|
|
pkgrel=0
|
|
pkgdesc="Resolve DNS queries using IO::Async"
|
|
url="https://metacpan.org/release/IO-Async-Resolver-DNS/"
|
|
arch="noarch"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl perl-future perl-io-async perl-list-utilsby perl-net-dns"
|
|
makedepends="perl-module-build"
|
|
checkdepends="perl-net-libresolv"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/IO-Async-Resolver-DNS-$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="
|
|
1b884b3f35badcfc9630b93ea2bb71020f411400a494f39a3264808fc384355ea4c029527b7b784b2440a13ad7b6c9c9fe2275506f66b2065283e9d03ea14c28 IO-Async-Resolver-DNS-0.06.tar.gz
|
|
"
|