1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/community/perl-crypt-openssl-verify/APKBUILD

38 lines
1.3 KiB
Text

# 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.29
pkgrel=1
pkgdesc="OpenSSL Verify certificate verification in XS."
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 perl-file-slurp chrpath openssl-dev perl-test-exception"
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="
61e6ebacd0a279b2c276b4828db450123363d0d6f3b0749d1968301b39a1ce6f28c9e5423b7debe3f262d0a5d20211af2a3e30773ffc91e5d556ffc9df27214f Crypt-OpenSSL-Verify-0.29.tar.gz
"