mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 05:36:38 +02:00
46 lines
1.4 KiB
Text
46 lines
1.4 KiB
Text
# Automatically generated by apkbuild-cpan, template 4
|
|
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
|
|
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
|
|
pkgname=perl-libwww
|
|
pkgver=6.77
|
|
pkgrel=0
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=libwww-perl
|
|
pkgdesc="The World-Wide Web library for Perl"
|
|
url="https://metacpan.org/release/libwww-perl/"
|
|
arch="noarch"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="
|
|
perl perl-http-date perl-http-cookies perl-net-http perl-html-parser perl-file-listing
|
|
perl-www-robotrules perl-http-negotiate perl-uri perl-http-message perl-lwp-mediatypes
|
|
perl-encode-locale perl-try-tiny
|
|
"
|
|
checkdepends="
|
|
perl-test-needs perl-test-leaktrace perl-http-daemon perl-test-fatal
|
|
perl-test-requiresinternet perl-http-cookiejar
|
|
"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/libwww-perl-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
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="
|
|
66aa1928da3362a496da543473a0ce1a7cc3885ebb5bf449ab0cdd18ce7836835b80ec8919cf6d0e63107eda03e1fe9d05ba39422a32e144034ef02632d43659 libwww-perl-6.77.tar.gz
|
|
"
|