mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +03:00
35 lines
1.2 KiB
Text
35 lines
1.2 KiB
Text
# Automatically generated by apkbuild-cpan, template 3
|
|
# Contributor: Timothy Legge <timlegge@gmail.com>
|
|
# Maintainer: Timothy Legge <timlegge@gmail.com>
|
|
pkgname=perl-http-anyua
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=HTTP-AnyUA
|
|
pkgver=0.904
|
|
pkgrel=0
|
|
pkgdesc="An HTTP user agent programming interface unification layer"
|
|
url="https://metacpan.org/release/HTTP-AnyUA/"
|
|
arch="noarch"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl perl-future perl-module-loader"
|
|
checkdepends="perl-namespace-clean perl-test-exception"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/C/CC/CCM/HTTP-AnyUA-$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
|
|
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="250fd8578be2371ae6038c7d5fcfe8f45cc3905a2f2a12cf0ffc5de9bc2ef3fadd71f5a0e8f603d380eb28922c80559b046c023d893778a02020fe65b6a6afc4 HTTP-AnyUA-0.904.tar.gz"
|