# Automatically generated by apkbuild-cpan, template 1 # Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=perl-net-dns-sec _pkgreal=Net-DNS-SEC pkgver=1.13 pkgrel=1 pkgdesc="DNSSEC extensions to Net::DNS" url="http://search.cpan.org/dist/Net-DNS-SEC/" arch="all" license="MIT" cpandepends="perl-crypt-openssl-dsa perl-net-dns perl-crypt-openssl-rsa perl-crypt-openssl-random perl-digest-bubblebabble perl-mime-base32 perl-crypt-openssl-bignum openssl-dev" cpanmakedepends="" depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/N/NL/NLNETLABS/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" prepare() { default_prepare cd "$builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { cd "$builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` make } check() { cd "$builddir" make test } package() { cd "$builddir" make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="951ae2e1312fd04924fa30918459e48bbd8accb1634411121f9ced4ce308bfef074fb238f5d3cc79950880fb7494bae1e5e46f258e5d6d44b4632ab81d94a91e Net-DNS-SEC-1.13.tar.gz"