summaryrefslogtreecommitdiff
path: root/package/perl-digest-sha1
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2015-04-19 12:17:15 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-19 13:43:45 +0200
commit5088ed78557ff422593a578bdf0f0ed7f683dc75 (patch)
tree33ca6569d62ce048798c5fe39d4eb05a69167008 /package/perl-digest-sha1
parent90c62ef5d91a847bc3a76ec3af4c57e41ebf5707 (diff)
package/perl-digest-sha1: new package
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/perl-digest-sha1')
-rw-r--r--package/perl-digest-sha1/Config.in10
-rw-r--r--package/perl-digest-sha1/perl-digest-sha1.hash3
-rw-r--r--package/perl-digest-sha1/perl-digest-sha1.mk13
3 files changed, 26 insertions, 0 deletions
diff --git a/package/perl-digest-sha1/Config.in b/package/perl-digest-sha1/Config.in
new file mode 100644
index 000000000..b72a4ae93
--- /dev/null
+++ b/package/perl-digest-sha1/Config.in
@@ -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
diff --git a/package/perl-digest-sha1/perl-digest-sha1.hash b/package/perl-digest-sha1/perl-digest-sha1.hash
new file mode 100644
index 000000000..d24d5ab66
--- /dev/null
+++ b/package/perl-digest-sha1/perl-digest-sha1.hash
@@ -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
diff --git a/package/perl-digest-sha1/perl-digest-sha1.mk b/package/perl-digest-sha1/perl-digest-sha1.mk
new file mode 100644
index 000000000..d3224e195
--- /dev/null
+++ b/package/perl-digest-sha1/perl-digest-sha1.mk
@@ -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))