mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
testing/perl-http-xsheaders: new aport
https://metacpan.org/release/HTTP-XSHeaders/ Fast XS Header library, replacing HTTP::Headers(::Fast)
This commit is contained in:
parent
eb42718f21
commit
e19ad41ce5
42
testing/perl-http-xsheaders/APKBUILD
Normal file
42
testing/perl-http-xsheaders/APKBUILD
Normal file
@ -0,0 +1,42 @@
|
||||
# Automatically generated by apkbuild-cpan, template 4
|
||||
# Contributor: Celeste <cielesti@protonmail.com>
|
||||
# Maintainer: Celeste <cielesti@protonmail.com>
|
||||
pkgname=perl-http-xsheaders
|
||||
pkgver=0.400005
|
||||
pkgrel=0
|
||||
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||
_pkgreal=HTTP-XSHeaders
|
||||
pkgdesc="Fast XS Header library, replacing HTTP::Headers(::Fast)"
|
||||
url="https://metacpan.org/release/HTTP-XSHeaders/"
|
||||
arch="all"
|
||||
license="MIT"
|
||||
depends="perl perl-http-date perl-uri"
|
||||
makedepends="perl-dev"
|
||||
checkdepends="perl-http-headers-fast perl-http-message perl-test-memorygrowth"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/X/XS/XSAWYERX/HTTP-XSHeaders-$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
|
||||
|
||||
install -Dvm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
35b8a169b91d7fb17138435b704d596236079455c409ba6115a74d0bbdec189f16fef6e629f561662c4b56c737e3c169da346bf7ddae23a6f07c07c0ddde57ba HTTP-XSHeaders-0.400005.tar.gz
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user