# Automatically generated by apkbuild-cpan, template 4 # Contributor: Sheila Aman # Maintainer: Sheila Aman pkgname=perl-lwp-protocol-https pkgver=6.15 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=" 78fbe585dacac943de16f43cfbece13dac90237be4e957713384a69f237236e4aa18584727ec9adba16c459bb9ad74e8ac8acf45b88a74b4e52a5f954e452bb6 LWP-Protocol-https-6.15.tar.gz "