perl-mime-tools: new package
authorChristopher McCrory <chrismcc@gmail.com>
Sat, 11 Aug 2018 18:27:41 +0000 (11:27 -0700)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 13 Aug 2018 12:11:00 +0000 (14:11 +0200)
Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
package/Config.in
package/perl-mime-tools/Config.in [new file with mode: 0644]
package/perl-mime-tools/perl-mime-tools.hash [new file with mode: 0644]
package/perl-mime-tools/perl-mime-tools.mk [new file with mode: 0644]

index 0831f962e2355a70031b461e50de2eaf40976363..6d0e3ecceb829605612c3f2ec32b59e943f22173 100644 (file)
@@ -494,6 +494,7 @@ F:  package/perl-file-slurp/
 F:     package/perl-io-interface/
 F:     package/perl-io-socket-multicast/
 F:     package/perl-json-maybexs/
+F:     package/perl-mime-tools/
 F:     package/perl-module-runtime/
 F:     package/perl-number-bytes-human/
 F:     package/perl-params-util/
index fba6d1116b66348b90a420e39a30b6bcb8ada2fc..85046ae56e7e6c841cfc573e232dd4361c46af41 100644 (file)
@@ -710,6 +710,7 @@ menu "Perl libraries/modules"
        source "package/perl-mailtools/Config.in"
        source "package/perl-mime-base64-urlsafe/Config.in"
        source "package/perl-mime-base64/Config.in"
+       source "package/perl-mime-tools/Config.in"
        source "package/perl-module-runtime/Config.in"
        source "package/perl-mojolicious-plugin-authentication/Config.in"
        source "package/perl-mojolicious/Config.in"
diff --git a/package/perl-mime-tools/Config.in b/package/perl-mime-tools/Config.in
new file mode 100644 (file)
index 0000000..740651d
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PERL_MIME_TOOLS
+       bool "perl-mime-tools"
+       select BR2_PACKAGE_PERL_MAILTOOLS
+       help
+         Tools to manipulate MIME messages
+
+         https://metacpan.org/release/MIME-tools
diff --git a/package/perl-mime-tools/perl-mime-tools.hash b/package/perl-mime-tools/perl-mime-tools.hash
new file mode 100644 (file)
index 0000000..41e13eb
--- /dev/null
@@ -0,0 +1,6 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    a2f0e07da2ff4b0478908544cc4b40fa MIME-tools-5.509.tar.gz
+sha256 64579f0c923d81d9a2194586e47c3475519e2646e4b5c102a8920759facf6973 MIME-tools-5.509.tar.gz
+
+# computed by scancpan
+sha256 151cd94e37eb05239c5a678c7d1c4d9d5241a7c9c138760b85152bc1947e2b93 COPYING
diff --git a/package/perl-mime-tools/perl-mime-tools.mk b/package/perl-mime-tools/perl-mime-tools.mk
new file mode 100644 (file)
index 0000000..03bea50
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# perl-mime-tools
+#
+################################################################################
+
+PERL_MIME_TOOLS_VERSION = 5.509
+PERL_MIME_TOOLS_SOURCE = MIME-tools-$(PERL_MIME_TOOLS_VERSION).tar.gz
+PERL_MIME_TOOLS_SITE = $(BR2_CPAN_MIRROR)/authors/id/D/DS/DSKOLL
+PERL_MIME_TOOLS_DEPENDENCIES = perl-mailtools
+PERL_MIME_TOOLS_LICENSE = Artistic or GPL-1.0+
+PERL_MIME_TOOLS_LICENSE_FILES = COPYING
+
+$(eval $(perl-package))