blob: c9f200a2a8e50fe55bdb9cae162094a6319199b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Automatically generated by apkbuild-cpan, template 3
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-net-dns
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Net-DNS
pkgver=1.32
pkgrel=0
pkgdesc="Perl Interface to the Domain Name System"
url="https://metacpan.org/release/Net-DNS/"
arch="noarch"
license="MIT"
depends="perl perl-digest-hmac"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/N/NL/NLNETLABS/Net-DNS-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
make
}
check() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="
1bf164b1e80478eecd5b3a5cdb1362fc89d320505e9e74c47d877a9737882fff8b78580134d921e19d3ecb149b4815e9868cdd5b6ecea2549e1bc61a32331a3d Net-DNS-1.32.tar.gz
"
|