Skip to content
Snippets Groups Projects
Commit 009b91ad authored by Celeste's avatar Celeste Committed by J0WI
Browse files

community/perl-net-dns-sec: upgrade to 1.24

also, upgrade to apkbuild-cpan template 4
parent c0820c9b
No related branches found
No related tags found
1 merge request!64915community/perl-net-dns-sec: upgrade to 1.24
Pipeline #229792 skipped
# Automatically generated by apkbuild-cpan, template 1
# Automatically generated by apkbuild-cpan, template 4
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-net-dns-sec
_pkgreal=Net-DNS-SEC
pkgver=1.23
pkgver=1.24
pkgrel=0
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Net-DNS-SEC
pkgdesc="DNSSEC extensions to Net::DNS"
url="https://metacpan.org/pod/Net::DNS::SEC"
arch="all"
......@@ -15,27 +16,24 @@ subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/N/NL/NLNETLABS/Net-DNS-SEC-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL \
INSTALLDIRS=vendor \
NO_PACKLIST=1 \
NO_PERLLOCAL=1
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="
b024d41cedcc8e6712f01334e5a6928d905f4ae841b619a35ba829af8b4bcb8d6e2d12d5478b65dfe617f4a913620e66e9ec1051b8f2c6cbcef924062c384982 Net-DNS-SEC-1.23.tar.gz
8814f8093cffd975910905a8152b764e049f60f7c531bcec1875cd3a1efc4186bf2633c268ace57dea9f6a9e019b2750f5f7a22b53595925196896a9556dadad Net-DNS-SEC-1.24.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment