mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-13 00:16:45 +02:00
38 lines
1.2 KiB
Text
38 lines
1.2 KiB
Text
# Automatically generated by apkbuild-cpan, template 4
|
|
# Contributor: Wen Heping <wenheping2000@hotmail.com>
|
|
# Maintainer: Wen Heping <wenheping2000@hotmail.com>
|
|
pkgname=perl-plack-middleware-removeredundantbody
|
|
pkgver=0.09
|
|
pkgrel=0
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Plack-Middleware-RemoveRedundantBody
|
|
pkgdesc="Plack::Middleware which removes body for HTTP response if it's not required"
|
|
url="https://metacpan.org/release/Plack-Middleware-RemoveRedundantBody/"
|
|
arch="noarch"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl perl-plack"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/S/SW/SWEETKID/Plack-Middleware-RemoveRedundantBody-$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="
|
|
0c47eca0e877ca78f248acb416edf93c7e0eb0b518d86594682063725b5c789c7a4e27130a6f42ef1cb506e9384c46cb96f82f42e716c3756319736ba41574ba Plack-Middleware-RemoveRedundantBody-0.09.tar.gz
|
|
"
|