@@ -504,6 +504,7 @@ if BR2_PACKAGE_PERL
menu "Perl libraries/modules"
source "package/perl-datetime-tiny/Config.in"
source "package/perl-digest-hmac/Config.in"
+ source "package/perl-digest-sha1/Config.in"
source "package/perl-encode-locale/Config.in"
source "package/perl-file-listing/Config.in"
source "package/perl-file-util/Config.in"
new file mode 100644
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_PERL_DIGEST_SHA1
+ bool "perl-digest-sha1"
+ depends on !BR2_STATIC_LIBS
+ help
+ Perl interface to the SHA-1 algorithm
+
+ https://metacpan.org/release/Digest-SHA1
+
+comment "perl-digest-sha1 needs a toolchain w/ dynamic library"
+ depends on BR2_STATIC_LIBS
new file mode 100644
@@ -0,0 +1,3 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5 bd22388f268434f2b24f64e28bf1aa35 Digest-SHA1-2.13.tar.gz
+sha256 68c1dac2187421f0eb7abf71452a06f190181b8fc4b28ededf5b90296fb943cc Digest-SHA1-2.13.tar.gz
new file mode 100644
@@ -0,0 +1,13 @@
+################################################################################
+#
+# perl-digest-sha1
+#
+################################################################################
+
+PERL_DIGEST_SHA1_VERSION = 2.13
+PERL_DIGEST_SHA1_SOURCE = Digest-SHA1-$(PERL_DIGEST_SHA1_VERSION).tar.gz
+PERL_DIGEST_SHA1_SITE = $(BR2_CPAN_MIRROR)/authors/id/G/GA/GAAS
+PERL_DIGEST_SHA1_DEPENDENCIES = perl
+PERL_DIGEST_SHA1_LICENSE = Artistic or GPLv1+
+
+$(eval $(perl-package))
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> --- package/Config.in | 1 + package/perl-digest-sha1/Config.in | 10 ++++++++++ package/perl-digest-sha1/perl-digest-sha1.hash | 3 +++ package/perl-digest-sha1/perl-digest-sha1.mk | 13 +++++++++++++ 4 files changed, 27 insertions(+) create mode 100644 package/perl-digest-sha1/Config.in create mode 100644 package/perl-digest-sha1/perl-digest-sha1.hash create mode 100644 package/perl-digest-sha1/perl-digest-sha1.mk