package/perl-http-message: New package
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 19 Apr 2015 10:17:07 +0000 (12:17 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 19 Apr 2015 11:43:44 +0000 (13:43 +0200)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/perl-http-message/Config.in [new file with mode: 0644]
package/perl-http-message/perl-http-message.hash [new file with mode: 0644]
package/perl-http-message/perl-http-message.mk [new file with mode: 0644]

index 3da9973abb24f8267f9ac0d01e291a3e7ae051e9..2c6fd9b68c6a54faa4257e25ef540d49bb02dfed 100644 (file)
@@ -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"
diff --git a/package/perl-http-message/Config.in b/package/perl-http-message/Config.in
new file mode 100644 (file)
index 0000000..9dda1ee
--- /dev/null
@@ -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
diff --git a/package/perl-http-message/perl-http-message.hash b/package/perl-http-message/perl-http-message.hash
new file mode 100644 (file)
index 0000000..ff6268d
--- /dev/null
@@ -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
diff --git a/package/perl-http-message/perl-http-message.mk b/package/perl-http-message/perl-http-message.mk
new file mode 100644 (file)
index 0000000..12eda90
--- /dev/null
@@ -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))