aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-http-entity-parser/APKBUILD
diff options
context:
space:
mode:
authorAxel Ulrich <ulrich.axel@gmail.com>2020-05-15 21:55:13 -0400
committerRasmus Thomsen <oss@cogitri.dev>2020-05-16 06:21:59 +0000
commitee5f58134ca38ec6370e9c96e93335bd6c39d812 (patch)
tree47772bcc3663c7a5c6ada9d139a8194b8a6949bb /testing/perl-http-entity-parser/APKBUILD
parent9fbec696572af53bd2a1944a44a86db80e39f8d3 (diff)
downloadaports-ee5f58134ca38ec6370e9c96e93335bd6c39d812.tar.gz
aports-ee5f58134ca38ec6370e9c96e93335bd6c39d812.tar.bz2
aports-ee5f58134ca38ec6370e9c96e93335bd6c39d812.tar.xz
testing/perl-http-entity-parser: new aport
Diffstat (limited to 'testing/perl-http-entity-parser/APKBUILD')
-rw-r--r--testing/perl-http-entity-parser/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/perl-http-entity-parser/APKBUILD b/testing/perl-http-entity-parser/APKBUILD
new file mode 100644
index 0000000000..f5541a00ab
--- /dev/null
+++ b/testing/perl-http-entity-parser/APKBUILD
@@ -0,0 +1,38 @@
+# Automatically generated by apkbuild-cpan, template 2
+# Contributor: Axel Ulrich <ulrich.axel@gmail.com>
+# Maintainer: Axel Ulrich <ulrich.axel@gmail.com>
+pkgname=perl-http-entity-parser
+_pkgreal=HTTP-Entity-Parser
+pkgver=0.22
+pkgrel=0
+pkgdesc="PSGI compliant HTTP Entity Parser"
+url="https://metacpan.org/release/HTTP-Entity-Parser/"
+arch="noarch"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+depends="perl-hash-multivalue perl-www-form-urlencoded perl-json-maybexs perl-stream-buffered perl-http-multipartparser"
+makedepends="perl-dev perl-module-build-tiny"
+checkdepends="perl-http-message"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/K/KA/KAZEBURO/HTTP-Entity-Parser-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ default_prepare
+ perl Build.PL --installdirs=vendor
+}
+
+build() {
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ ./Build
+}
+
+check() {
+ ./Build test
+}
+
+package() {
+ ./Build install --destdir="$pkgdir"
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="fc54b92af197ec4dbdb1069f5a7a8db0892483f80a3737f4914cb6d03dd0ec01b2b215bed96b6736474d2d484516071926774610ace475199cae44174cc2abd0 HTTP-Entity-Parser-0.22.tar.gz"