From mboxrd@z Thu Jan 1 00:00:00 1970 From: Francois Perrad Date: Sat, 6 Oct 2018 18:55:20 +0200 Subject: [Buildroot] [PATCH 16/20] perl-http-entity-parser: new package In-Reply-To: <20181006165524.23778-1-francois.perrad@gadz.org> References: <20181006165524.23778-1-francois.perrad@gadz.org> Message-ID: <20181006165524.23778-17-francois.perrad@gadz.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Signed-off-by: Francois Perrad --- package/Config.in | 1 + package/perl-http-entity-parser/Config.in | 11 +++++++++++ .../perl-http-entity-parser.hash | 6 ++++++ .../perl-http-entity-parser.mk | 14 ++++++++++++++ 4 files changed, 32 insertions(+) create mode 100644 package/perl-http-entity-parser/Config.in create mode 100644 package/perl-http-entity-parser/perl-http-entity-parser.hash create mode 100644 package/perl-http-entity-parser/perl-http-entity-parser.mk diff --git a/package/Config.in b/package/Config.in index 9bef92ee4..bdf883ce7 100644 --- a/package/Config.in +++ b/package/Config.in @@ -707,6 +707,7 @@ menu "Perl libraries/modules" source "package/perl-http-cookies/Config.in" source "package/perl-http-daemon/Config.in" source "package/perl-http-date/Config.in" + source "package/perl-http-entity-parser/Config.in" source "package/perl-http-message/Config.in" source "package/perl-http-multipartparser/Config.in" source "package/perl-http-negotiate/Config.in" diff --git a/package/perl-http-entity-parser/Config.in b/package/perl-http-entity-parser/Config.in new file mode 100644 index 000000000..41883ac01 --- /dev/null +++ b/package/perl-http-entity-parser/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_PERL_HTTP_ENTITY_PARSER + bool "perl-http-entity-parser" + select BR2_PACKAGE_PERL_HTTP_MULTIPARTPARSER + select BR2_PACKAGE_PERL_HASH_MULTIVALUE + select BR2_PACKAGE_PERL_JSON_MAYBEXS + select BR2_PACKAGE_PERL_STREAM_BUFFERED + select BR2_PACKAGE_PERL_WWW_FORM_URLENCODED + help + PSGI compliant HTTP Entity Parser + + https://github.com/kazeburo/HTTP-Entity-Parser diff --git a/package/perl-http-entity-parser/perl-http-entity-parser.hash b/package/perl-http-entity-parser/perl-http-entity-parser.hash new file mode 100644 index 000000000..cb6657413 --- /dev/null +++ b/package/perl-http-entity-parser/perl-http-entity-parser.hash @@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 50e8418bfe27ab26818ca6e264052c95 HTTP-Entity-Parser-0.21.tar.gz +sha256 c14d3e42bdb0845eb412640ca5e396cbd52d3a9a616a5974a32a52cab487f8d8 HTTP-Entity-Parser-0.21.tar.gz + +# computed by scancpan +sha256 79c2a066104e71602785fd815c5aea6f7db78c19451d68521380083f9c2a8805 LICENSE diff --git a/package/perl-http-entity-parser/perl-http-entity-parser.mk b/package/perl-http-entity-parser/perl-http-entity-parser.mk new file mode 100644 index 000000000..1cba1eb8e --- /dev/null +++ b/package/perl-http-entity-parser/perl-http-entity-parser.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# perl-http-entity-parser +# +################################################################################ + +PERL_HTTP_ENTITY_PARSER_VERSION = 0.21 +PERL_HTTP_ENTITY_PARSER_SOURCE = HTTP-Entity-Parser-$(PERL_HTTP_ENTITY_PARSER_VERSION).tar.gz +PERL_HTTP_ENTITY_PARSER_SITE = $(BR2_CPAN_MIRROR)/authors/id/K/KA/KAZEBURO +PERL_HTTP_ENTITY_PARSER_DEPENDENCIES = host-perl-module-build-tiny perl-http-multipartparser perl-hash-multivalue perl-json-maybexs perl-stream-buffered perl-www-form-urlencoded +PERL_HTTP_ENTITY_PARSER_LICENSE = Artistic or GPL-1.0+ +PERL_HTTP_ENTITY_PARSER_LICENSE_FILES = LICENSE + +$(eval $(perl-package)) -- 2.17.1