perl-digest-hmac: New package
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 19 Apr 2015 08:33:14 +0000 (10:33 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 19 Apr 2015 09:40:53 +0000 (11:40 +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-digest-hmac/Config.in [new file with mode: 0644]
package/perl-digest-hmac/perl-digest-hmac.hash [new file with mode: 0644]
package/perl-digest-hmac/perl-digest-hmac.mk [new file with mode: 0644]

index 34b6017b654c420f0e83affb8b0c6380e69e4e5c..e8dd4cbb1bf7ef1c2c6ce5d5200c57413029d512 100644 (file)
@@ -504,6 +504,7 @@ if BR2_PACKAGE_PERL
 menu "Perl libraries/modules"
        source "package/perl-datetime-tiny/Config.in"
        source "package/perl-file-util/Config.in"
+       source "package/perl-digest-hmac/Config.in"
        source "package/perl-gd/Config.in"
        source "package/perl-gdgraph/Config.in"
        source "package/perl-gdtextutil/Config.in"
diff --git a/package/perl-digest-hmac/Config.in b/package/perl-digest-hmac/Config.in
new file mode 100644 (file)
index 0000000..733a53d
--- /dev/null
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PERL_DIGEST_HMAC
+       bool "perl-digest-hmac"
+       help
+         Digest::HMAC - Keyed-Hashing for Message Authentication
+
+         https://github.com/gisle/digest-hmac
diff --git a/package/perl-digest-hmac/perl-digest-hmac.hash b/package/perl-digest-hmac/perl-digest-hmac.hash
new file mode 100644 (file)
index 0000000..018e4eb
--- /dev/null
@@ -0,0 +1,3 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    e6a5d6f552da16eacb5157ea4369ff9d Digest-HMAC-1.03.tar.gz
+sha256 3bc72c6d3ff144d73aefb90e9a78d33612d58cf1cd1631ecfb8985ba96da4a59 Digest-HMAC-1.03.tar.gz
diff --git a/package/perl-digest-hmac/perl-digest-hmac.mk b/package/perl-digest-hmac/perl-digest-hmac.mk
new file mode 100644 (file)
index 0000000..97ec43e
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# perl-digest-hmac
+#
+################################################################################
+
+PERL_DIGEST_HMAC_VERSION = 1.03
+PERL_DIGEST_HMAC_SOURCE = Digest-HMAC-$(PERL_DIGEST_HMAC_VERSION).tar.gz
+PERL_DIGEST_HMAC_SITE = $(BR2_CPAN_MIRROR)/authors/id/G/GA/GAAS
+PERL_DIGEST_HMAC_DEPENDENCIES = perl
+PERL_DIGEST_HMAC_LICENSE = Artistic or GPLv1+
+PERL_DIGEST_HMAC_LICENSE_FILES = README
+
+$(eval $(perl-package))