mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-27 08:31:35 +02:00
Removed `perl-dev` from `makedepends` because this is a pure Perl module with no C code (it's `noarch`)
51 lines
1.3 KiB
Plaintext
51 lines
1.3 KiB
Plaintext
# Automatically generated by apkbuild-cpan, template 3
|
|
# Contributor: Sheila Aman <sheila@vulpine.house>
|
|
# Maintainer: Sheila Aman <sheila@vulpine.house>
|
|
pkgname=perl-lwp-protocol-https
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=LWP-Protocol-https
|
|
pkgver=6.12
|
|
pkgrel=0
|
|
pkgdesc="Provide https support for LWP::UserAgent"
|
|
url="https://metacpan.org/release/LWP-Protocol-https/"
|
|
arch="noarch"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="
|
|
perl
|
|
perl-io-socket-ssl
|
|
perl-libwww
|
|
perl-mozilla-ca
|
|
perl-net-http
|
|
"
|
|
checkdepends="
|
|
perl-test-needs
|
|
perl-test-requiresinternet
|
|
"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/LWP-Protocol-https-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
# secfixes:
|
|
# 6.11-r0:
|
|
# - CVE-2014-3230
|
|
|
|
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="
|
|
cfddbf36cba623bb03c0b514741ddff19b762c49fd2056210e9d1b15c211d605687ece51dd45eac90c61ceb8b47acee153a3c1c8f4a244bd8f3dcc9bf16cff68 LWP-Protocol-https-6.12.tar.gz
|
|
"
|