mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 04:26:43 +02:00
51 lines
1.3 KiB
Text
51 lines
1.3 KiB
Text
# Automatically generated by apkbuild-cpan, template 4
|
|
# Contributor: Sheila Aman <sheila@vulpine.house>
|
|
# Maintainer: Sheila Aman <sheila@vulpine.house>
|
|
pkgname=perl-lwp-protocol-https
|
|
pkgver=6.14
|
|
pkgrel=0
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=LWP-Protocol-https
|
|
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-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 \
|
|
NO_PACKLIST=1 \
|
|
NO_PERLLOCAL=1
|
|
make
|
|
}
|
|
|
|
check() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
8f220c307833a803a8539a1c794598097133f24017edda9030eba2ff558d54104040fbae64d7068e99b9e03142e6e96a8b11c478e2a5571e908754a385b59fab LWP-Protocol-https-6.14.tar.gz
|
|
"
|