mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 21:51:34 +02:00
40 lines
1.3 KiB
Plaintext
40 lines
1.3 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.34
|
|
pkgrel=0
|
|
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 openssl1.1-compat-dev"
|
|
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="
|
|
1b1d02b8784f87fb808e2c11fc27cdc8af389bc4ef0d2580d012fc961532e56796eb96ccb66ee9af7cf721a8452cf0ba4e8e10201944f86c1d90dde30259276f Crypt-OpenSSL-Verify-0.34.tar.gz
|
|
"
|