mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 03:09:51 +03:00
38 lines
1.2 KiB
Text
38 lines
1.2 KiB
Text
# Contributor: Wen Heping <wenhepingalpine@sohu.com>
|
|
# Maintainer: Wen Heping <wenhepingalpine@sohu.com>
|
|
pkgname=perl-http-headers-actionpack
|
|
pkgver=0.09
|
|
pkgrel=0
|
|
# _pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=HTTP-Headers-ActionPack
|
|
pkgdesc="HTTP Action, Adventure and Excitement"
|
|
url="https://metacpan.org/release/HTTP-Headers-ActionPack/"
|
|
arch="noarch"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl perl-http-date perl-http-message perl-module-runtime perl-sub-exporter perl-uri"
|
|
checkdepends="perl-http-message perl-test-fatal perl-test-warnings"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/HTTP-Headers-ActionPack-$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="
|
|
762f147657b10609a49d15b17985403083567cf9dd01c1d3498150885d75d088cae2d51d9a5cebcef81a5959850a5b09ad51411b659b98bfe8a827101de4a2b4 HTTP-Headers-ActionPack-0.09.tar.gz
|
|
"
|