# Automatically generated by apkbuild-cpan, template 1 # Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=perl-net-dns-sec _pkgreal=Net-DNS-SEC pkgver=1.10 pkgrel=0 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="http://search.cpan.org/CPAN/authors/id/W/WI/WILLEM/$_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="08b36a6e294c979caf72b2abe691475936827c894d61096becca152de4973b2c43798d1c01a0cbd2e8062a9e2134d45d48b3d5ddf9e6d1ee49a4bfa51d3f7a90 Net-DNS-SEC-1.10.tar.gz"