Browse Source

package/perl-http-message: New package

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls 10 năm trước cách đây
mục cha
commit
27e4a433b4

+ 1 - 0
package/Config.in

@@ -513,6 +513,7 @@ menu "Perl libraries/modules"
 	source "package/perl-html-parser/Config.in"
 	source "package/perl-html-tagset/Config.in"
 	source "package/perl-http-date/Config.in"
+	source "package/perl-http-message/Config.in"
 	source "package/perl-io-html/Config.in"
 	source "package/perl-io-socket-ssl/Config.in"
 	source "package/perl-json-tiny/Config.in"

+ 12 - 0
package/perl-http-message/Config.in

@@ -0,0 +1,12 @@
+config BR2_PACKAGE_PERL_HTTP_MESSAGE
+	bool "perl-http-message"
+	select BR2_PACKAGE_PERL_ENCODE_LOCALE
+	select BR2_PACKAGE_PERL_HTTP_DATE
+	select BR2_PACKAGE_PERL_IO_HTML
+	select BR2_PACKAGE_PERL_LWP_MEDIATYPES
+	select BR2_PACKAGE_PERL_URI
+	help
+	  The HTTP-Message distribution contains classes useful for representing
+	  the messages passed in HTTP style communication.
+
+	  https://github.com/libwww-perl/http-message

+ 3 - 0
package/perl-http-message/perl-http-message.hash

@@ -0,0 +1,3 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    e563ac516e28d33f65bc0f295f625f85 HTTP-Message-6.06.tar.gz
+sha256 087e97009c5239dca4631cf433d836771b3fc5ba5685eef1965f9d3415cbad63 HTTP-Message-6.06.tar.gz

+ 19 - 0
package/perl-http-message/perl-http-message.mk

@@ -0,0 +1,19 @@
+################################################################################
+#
+# perl-http-message
+#
+################################################################################
+
+PERL_HTTP_MESSAGE_VERSION = 6.06
+PERL_HTTP_MESSAGE_SOURCE = HTTP-Message-$(PERL_HTTP_MESSAGE_VERSION).tar.gz
+PERL_HTTP_MESSAGE_SITE = $(BR2_CPAN_MIRROR)/authors/id/G/GA/GAAS
+PERL_HTTP_MESSAGE_LICENSE = Artistic or GPLv1+
+PERL_HTTP_MESSAGE_LICENSE_FILES = README
+PERL_HTTP_MESSAGE_DEPENDENCIES = \
+	perl-encode-locale \
+	perl-http-date \
+	perl-io-html \
+	perl-lwp-mediatypes \
+	perl-uri
+
+$(eval $(perl-package))