aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-crypt-openssl-verify/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/perl-crypt-openssl-verify/APKBUILD')
-rw-r--r--community/perl-crypt-openssl-verify/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/community/perl-crypt-openssl-verify/APKBUILD b/community/perl-crypt-openssl-verify/APKBUILD
new file mode 100644
index 0000000000..7e7d5e71b5
--- /dev/null
+++ b/community/perl-crypt-openssl-verify/APKBUILD
@@ -0,0 +1,37 @@
+# Automatically generated by apkbuild-cpan, template 3
+# Contributor: Timothy Legge <timlegge@gmail.com>
+# Maintainer: Timothy Legge <timlegge@gmail.com>
+pkgname=perl-crypt-openssl-verify
+#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
+_pkgreal=Crypt-OpenSSL-Verify
+pkgver=0.13
+pkgrel=0
+pkgdesc="Perl module for Crypt-OpenSSL-Verify"
+url="https://metacpan.org/release/Crypt-OpenSSL-Verify/"
+arch="all"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+depends="perl perl-crypt-openssl-x509"
+makedepends="perl-dev chrpath openssl-dev"
+checkdepends="perl-file-slurp"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/T/TI/TIMLEGGE/Crypt-OpenSSL-Verify-$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
+ chrpath -d "$builddir"/blib/arch/auto/Crypt/OpenSSL/Verify/Verify.so
+}
+
+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="accaad25c225a6998a292c3886882a6841ef33da488b5506ba5487c848705a19b2f5a1d5f3de520d7b10cc1c017c46e5cdc8c9004da1d14a42430ee3e9efbbbb Crypt-OpenSSL-Verify-0.13.tar.gz"