blob: f290c777b61cf79e1b69801a4ef88e437b1f6976 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# 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"
|