mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +03:00
37 lines
1.4 KiB
Text
37 lines
1.4 KiB
Text
# Automatically generated by apkbuild-cpan, template 2
|
|
# Contributor: Timothy Legge <timlegge@gmail.com>
|
|
# Maintainer: Timothy Legge <timlegge@gmail.com>
|
|
pkgname=perl-crypt-openssl-verifyx509
|
|
_pkgreal=Crypt-OpenSSL-VerifyX509
|
|
pkgver=0.10
|
|
pkgrel=3
|
|
pkgdesc="simple certificate verification"
|
|
url="https://metacpan.org/release/Crypt-OpenSSL-VerifyX509/"
|
|
arch="all"
|
|
license="GPL-1.0-or-later Artistic-1.0-Perl"
|
|
cpandepends=" perl-crypt-openssl-x509"
|
|
depends="$cpandepends"
|
|
makedepends="openssl-dev perl-dev"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/C/CH/CHRISA/Crypt-OpenSSL-VerifyX509-$pkgver.tar.gz
|
|
fix-bug-121214-compilation-fails-openssl_1.1.0.patch"
|
|
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="c206c455bdd5ae53b29fd595fd650ca756f88d9cc20034aeacdb49eba457188aa1ac380be84830a38e573ad1be958997cded42ad0afedcfc5ca168646ed3d65e Crypt-OpenSSL-VerifyX509-0.10.tar.gz
|
|
e341cd03fdde3088519920be00730a06f4cc92c8c2f5e29cda6a22e1fe6f476d155a6c51a6d8c258d649714a624b121636d6f323f42bcbbd379d93e7e08b5b74 fix-bug-121214-compilation-fails-openssl_1.1.0.patch"
|