mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 18:25:41 +03:00
38 lines
1.2 KiB
Text
38 lines
1.2 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-verifyx509
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Crypt-OpenSSL-VerifyX509
|
|
pkgver=0.21
|
|
pkgrel=2
|
|
pkgdesc="simple certificate verification"
|
|
url="https://metacpan.org/release/Crypt-OpenSSL-VerifyX509/"
|
|
arch="all"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl perl-crypt-openssl-x509"
|
|
makedepends="perl-dev openssl-dev>3"
|
|
checkdepends="perl-file-slurper"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/T/TI/TIMLEGGE/Crypt-OpenSSL-VerifyX509-$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="
|
|
cd6cb8cfb2595f613c013ea0854bc9dea75bccd23cd62b5d7c6699cf119eae838a80718b0b86eb281950478cdb2b06fe640499d7f88dbd047e8cd43389f6678e Crypt-OpenSSL-VerifyX509-0.21.tar.gz
|
|
"
|