mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 03:09:51 +03:00
testing/perl-http-headers-actionpack: new aport
This commit is contained in:
parent
da7cfa95cf
commit
09abbe4c68
1 changed files with 38 additions and 0 deletions
38
testing/perl-http-headers-actionpack/APKBUILD
Normal file
38
testing/perl-http-headers-actionpack/APKBUILD
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
# 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
|
||||||
|
"
|
Loading…
Add table
Add a link
Reference in a new issue