package/perl-http-date: New package
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 19 Apr 2015 10:17:02 +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-date/Config.in [new file with mode: 0644]
package/perl-http-date/perl-http-date.hash [new file with mode: 0644]
package/perl-http-date/perl-http-date.mk [new file with mode: 0644]

index fa42afb6c50bf8ef2673247131f2ecda9a913cf4..f0919234b46ada3debdaf1ca1632c598cec8b94c 100644 (file)
@@ -511,6 +511,7 @@ menu "Perl libraries/modules"
        source "package/perl-gdtextutil/Config.in"
        source "package/perl-html-parser/Config.in"
        source "package/perl-html-tagset/Config.in"
+       source "package/perl-http-date/Config.in"
        source "package/perl-io-socket-ssl/Config.in"
        source "package/perl-json-tiny/Config.in"
        source "package/perl-mojolicious/Config.in"
diff --git a/package/perl-http-date/Config.in b/package/perl-http-date/Config.in
new file mode 100644 (file)
index 0000000..c45335f
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PERL_HTTP_DATE
+       bool "perl-http-date"
+       help
+         This module provides functions that deal the date formats used by the
+         HTTP protocol (and then some more)
+
+         https://github.com/gisle/http-date
diff --git a/package/perl-http-date/perl-http-date.hash b/package/perl-http-date/perl-http-date.hash
new file mode 100644 (file)
index 0000000..db85cd0
--- /dev/null
@@ -0,0 +1,3 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    52b7a0d5982d61be1edb217751d7daba HTTP-Date-6.02.tar.gz
+sha256 e8b9941da0f9f0c9c01068401a5e81341f0e3707d1c754f8e11f42a7e629e333 HTTP-Date-6.02.tar.gz
diff --git a/package/perl-http-date/perl-http-date.mk b/package/perl-http-date/perl-http-date.mk
new file mode 100644 (file)
index 0000000..6de95b6
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# perl-http-date
+#
+################################################################################
+
+PERL_HTTP_DATE_VERSION = 6.02
+PERL_HTTP_DATE_SOURCE = HTTP-Date-$(PERL_HTTP_DATE_VERSION).tar.gz
+PERL_HTTP_DATE_SITE = $(BR2_CPAN_MIRROR)/authors/id/G/GA/GAAS
+PERL_HTTP_DATE_DEPENDENCIES = perl
+PERL_HTTP_DATE_LICENSE = Artistic or GPLv1+
+PERL_HTTP_DATE_LICENSE_FILES = README
+
+$(eval $(perl-package))