mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
40 lines
1.4 KiB
Plaintext
40 lines
1.4 KiB
Plaintext
# 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.36
|
|
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 chrpath openssl-dev>3 perl-crypt-openssl-guess"
|
|
checkdepends="perl-test-exception perl-file-slurper"
|
|
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="
|
|
2e4ceda4bd13d5860ccd0dfb7c0d9b1ecb671ff46164f8b7864215e77d905375c45e613b13c32b8d97479866b037b1a95aa431e91175e7703859a22e227c8ef3 Crypt-OpenSSL-Verify-0.36.tar.gz
|
|
"
|