# Automatically generated by apkbuild-cpan, template 2 # Contributor: Timothy Legge # Maintainer: Timothy Legge pkgname=perl-crypt-openssl-x509 _pkgreal=Crypt-OpenSSL-X509 pkgver=1.812 pkgrel=0 pkgdesc="Perl extension to OpenSSL's X509 API." url="https://metacpan.org/release/Crypt-OpenSSL-X509/" arch="all" license="GPL PerlArtistic" cpanmakedepends="openssl-dev" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/J/JO/JONASBN/Crypt-OpenSSL-X509-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor 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="716ee6dc0b0027e6d00a8d7f72c58309f540d8c9ef079aca9c8354f41a50a196ccaa7acb7a8d5b35074cb0a779015b74880f2e88ac9f8a28f79f307223d14474 Crypt-OpenSSL-X509-1.812.tar.gz"