# Automatically generated by apkbuild-cpan, template 3 # Contributor: Timothy Legge # Maintainer: Timothy Legge pkgname=perl-crypt-openssl-x509 #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=Crypt-OpenSSL-X509 pkgver=1.915 pkgrel=1 pkgdesc="Perl extension to OpenSSL's X509 API." url="https://metacpan.org/release/Crypt-OpenSSL-X509/" arch="all" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl perl-convert-asn1" makedepends="perl-dev openssl-dev>3 perl-crypt-openssl-guess" checkdepends="perl-test-pod" 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=" f9cae267e0d08297420407e52dd6c4bdc90fd88b247a25e0ab4e7ec8be548f06efd822fb66719ba0908739decd9dc4e261a779311f8c4a235197f048b5a2d829 Crypt-OpenSSL-X509-1.915.tar.gz "