diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-26 12:59:10 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-26 12:59:10 +0000 |
commit | acce9edf85ec7ddbf614af051494049627d96058 (patch) | |
tree | 4d8742f472eca8c495235f5baba952d645f1125c /community/perl-net-dns-sec/APKBUILD | |
parent | 480228c9ee3d9f1b4daabad677ab6a7ce967677c (diff) | |
download | aports-acce9edf85ec7ddbf614af051494049627d96058.tar.bz2 aports-acce9edf85ec7ddbf614af051494049627d96058.tar.xz |
community/perl-net-dns-sec: moved from testing
Diffstat (limited to 'community/perl-net-dns-sec/APKBUILD')
-rw-r--r-- | community/perl-net-dns-sec/APKBUILD | 43 |
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..0310e13f66 --- /dev/null +++ b/community/perl-net-dns-sec/APKBUILD @@ -0,0 +1,43 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista <francesco.colista@gmail.com> +# Maintainer: Francesco Colista <francesco.colista@gmail.com> +pkgname=perl-net-dns-sec +_pkgreal=Net-DNS-SEC +pkgver=1.02 +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="3d11216697d0fe43e74484b59f94188d Net-DNS-SEC-1.02.tar.gz" +sha256sums="e78090addfd4a5d4068b173e6e071d984ae8b67dd803f8f33b73eb7692085fbf Net-DNS-SEC-1.02.tar.gz" +sha512sums="cbbf0a4eb6948047a991cf473b0824cfa69c7f7e2d07190fbc9fe62be79106635ebfc02ab02a559079f2936ff354f5ff9275fd16cf37d7bc2d78a87cf0b103b0 Net-DNS-SEC-1.02.tar.gz" |