package/perl-mailtools: new package
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 19 Apr 2015 10:17:19 +0000 (12:17 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 19 Apr 2015 11:43:45 +0000 (13:43 +0200)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/perl-mailtools/Config.in [new file with mode: 0644]
package/perl-mailtools/perl-mailtools.hash [new file with mode: 0644]
package/perl-mailtools/perl-mailtools.mk [new file with mode: 0644]

index 8e04222eb729c3c57f1e3bf492d3ff3263516b4d..b80eb19af2cd23474913f484e3537bdc6b8d88b8 100644 (file)
@@ -525,6 +525,7 @@ menu "Perl libraries/modules"
        source "package/perl-json-tiny/Config.in"
        source "package/perl-libwww/Config.in"
        source "package/perl-lwp-mediatypes/Config.in"
+       source "package/perl-mailtools/Config.in"
        source "package/perl-mime-base64/Config.in"
        source "package/perl-mojolicious/Config.in"
        source "package/perl-net-dns/Config.in"
diff --git a/package/perl-mailtools/Config.in b/package/perl-mailtools/Config.in
new file mode 100644 (file)
index 0000000..e02d3cb
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PERL_MAILTOOLS
+       bool "perl-mailtools"
+       select BR2_PACKAGE_PERL_TIMEDATE
+       help
+         Various e-mail related modules
+
+         https://metacpan.org/release/MailTools
diff --git a/package/perl-mailtools/perl-mailtools.hash b/package/perl-mailtools/perl-mailtools.hash
new file mode 100644 (file)
index 0000000..b67867a
--- /dev/null
@@ -0,0 +1,3 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    813ae849683367bb75e6be89e4e8cc46 MailTools-2.14.tar.gz
+sha256 4b7c7ef674b2ef75ea793f053cd067c6a4b33e58e3adf08a89c8ea4c56b3dff8 MailTools-2.14.tar.gz
diff --git a/package/perl-mailtools/perl-mailtools.mk b/package/perl-mailtools/perl-mailtools.mk
new file mode 100644 (file)
index 0000000..5b11625
--- /dev/null
@@ -0,0 +1,13 @@
+################################################################################
+#
+# perl-mailtools
+#
+################################################################################
+
+PERL_MAILTOOLS_VERSION = 2.14
+PERL_MAILTOOLS_SOURCE = MailTools-$(PERL_MAILTOOLS_VERSION).tar.gz
+PERL_MAILTOOLS_SITE = $(BR2_CPAN_MIRROR)/authors/id/M/MA/MARKOV
+PERL_MAILTOOLS_DEPENDENCIES = perl perl-timedate
+PERL_MAILTOOLS_LICENSE = Artistic or GPLv1+
+
+$(eval $(perl-package))