aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-net-dns-sec
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2017-06-30 15:13:50 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-06-30 15:14:14 +0000
commit9fd4eccbd2b6cdd2d993925bd816ca7a122e829f (patch)
tree154927201ba679818688487dab2b385e693f7912 /community/perl-net-dns-sec
parent2076e685cb780a00f517d5ae81446da04bae50a6 (diff)
downloadaports-9fd4eccbd2b6cdd2d993925bd816ca7a122e829f.tar.bz2
aports-9fd4eccbd2b6cdd2d993925bd816ca7a122e829f.tar.xz
Revert "main/perl-net-dns-sec: moved from main"
Diffstat (limited to 'community/perl-net-dns-sec')
-rw-r--r--community/perl-net-dns-sec/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/community/perl-net-dns-sec/APKBUILD b/community/perl-net-dns-sec/APKBUILD
new file mode 100644
index 0000000000..99472fa5b8
--- /dev/null
+++ b/community/perl-net-dns-sec/APKBUILD
@@ -0,0 +1,43 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=perl-net-dns-sec
+_pkgreal=Net-DNS-SEC
+pkgver=1.03
+pkgrel=0
+pkgdesc="DNSSEC extensions to Net::DNS"
+url="http://search.cpan.org/dist/Net-DNS-SEC/"
+arch="noarch"
+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"
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/N/NL/NLNETLABS/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+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 && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="78b84a9b9b078801c51637fb0bb127a3 Net-DNS-SEC-1.03.tar.gz"
+sha256sums="7d89ed9a140f80a3ad84799c7b00d17328e18bb763765910af2c661e5e5035e7 Net-DNS-SEC-1.03.tar.gz"
+sha512sums="17d9f2125b9ed687791941ea777927daf8cfe4a6a379d02cda499fb01a71606b1c01154a3d4f2f2ffb70f5a658aaf02e64c8e5cc308de8c8e0cc543271ee7bce Net-DNS-SEC-1.03.tar.gz"