perl-digest-md5: new package
authorThomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Thu, 12 Jul 2018 21:00:48 +0000 (23:00 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 16 Jul 2018 11:30:29 +0000 (13:30 +0200)
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
package/Config.in
package/perl-digest-md5/Config.in [new file with mode: 0644]
package/perl-digest-md5/perl-digest-md5.hash [new file with mode: 0644]
package/perl-digest-md5/perl-digest-md5.mk [new file with mode: 0644]

index ca7e1efd7eaf033aa7420edde17bed164493da90..6208e2b6b2f2f5ad086a46b46afc7abd208b021e 100644 (file)
@@ -1924,6 +1924,7 @@ F:        package/opkg-utils/
 F:     package/perl-convert-asn1/
 F:     package/perl-crypt-blowfish/
 F:     package/perl-crypt-cbc/
+F:     package/perl-digest-md5/
 F:     package/pigz/
 F:     support/scripts/size-stats
 F:     utils/size-stats-compare
index 981c84c350c2cd36aa79edba9e7986b0b574cf2a..1408b46bb7ed99fe09bb1dfbed6359b7c9592949 100644 (file)
@@ -671,6 +671,7 @@ menu "Perl libraries/modules"
        source "package/perl-crypt-openssl-rsa/Config.in"
        source "package/perl-datetime-tiny/Config.in"
        source "package/perl-digest-hmac/Config.in"
+       source "package/perl-digest-md5/Config.in"
        source "package/perl-digest-sha1/Config.in"
        source "package/perl-encode-detect/Config.in"
        source "package/perl-encode-locale/Config.in"
diff --git a/package/perl-digest-md5/Config.in b/package/perl-digest-md5/Config.in
new file mode 100644 (file)
index 0000000..e8bb3fd
--- /dev/null
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_PERL_DIGEST_MD5
+       bool "perl-digest-md5"
+       depends on !BR2_STATIC_LIBS
+       help
+         Perl interface to the MD-5 algorithm
+
+         https://metacpan.org/release/Digest-MD5
+
+comment "perl-digest-md5 needs a toolchain w/ dynamic library"
+       depends on BR2_STATIC_LIBS
diff --git a/package/perl-digest-md5/perl-digest-md5.hash b/package/perl-digest-md5/perl-digest-md5.hash
new file mode 100644 (file)
index 0000000..3876f3a
--- /dev/null
@@ -0,0 +1,6 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    601519b826ca14c233f13a4578b967ef Digest-MD5-2.55.tar.gz
+sha256 03b198a2d14425d951e5e50a885d3818c3162c8fe4c21e18d7798a9a179d0e3c Digest-MD5-2.55.tar.gz
+
+# computed by scancpan
+sha256 f92f16702159fc57cd29c23f29b7f2420bff578ed72365d0225d2945a501cd5a README
diff --git a/package/perl-digest-md5/perl-digest-md5.mk b/package/perl-digest-md5/perl-digest-md5.mk
new file mode 100644 (file)
index 0000000..f39f4b2
--- /dev/null
@@ -0,0 +1,13 @@
+################################################################################
+#
+# perl-digest-md5
+#
+################################################################################
+
+PERL_DIGEST_MD5_VERSION = 2.55
+PERL_DIGEST_MD5_SOURCE = Digest-MD5-$(PERL_DIGEST_MD5_VERSION).tar.gz
+PERL_DIGEST_MD5_SITE = $(BR2_CPAN_MIRROR)/authors/id/G/GA/GAAS
+PERL_DIGEST_MD5_LICENSE = Artistic or GPL-1.0+
+PERL_DIGEST_MD5_LICENSE_FILES = README
+
+$(eval $(perl-package))