Browse Source

perl-digest-hmac: 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 years ago
parent
commit
7553eac7a8

+ 1 - 0
package/Config.in

@@ -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"

+ 6 - 0
package/perl-digest-hmac/Config.in

@@ -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

+ 3 - 0
package/perl-digest-hmac/perl-digest-hmac.hash

@@ -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

+ 14 - 0
package/perl-digest-hmac/perl-digest-hmac.mk

@@ -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))