libmime-tools-perl: add MIME-Tools Perl module set
authorRoman I Khimov <khimov@altell.ru>
Thu, 18 Mar 2010 12:41:24 +0000 (15:41 +0300)
committerRoman I Khimov <khimov@altell.ru>
Tue, 23 Mar 2010 21:47:43 +0000 (00:47 +0300)
Signed-off-by: Roman I Khimov <khimov@altell.ru>
recipes/perl/libmime-tools-perl_5.427.bb [new file with mode: 0644]

diff --git a/recipes/perl/libmime-tools-perl_5.427.bb b/recipes/perl/libmime-tools-perl_5.427.bb
new file mode 100644 (file)
index 0000000..480c1eb
--- /dev/null
@@ -0,0 +1,34 @@
+DESCRIPTION = "MIME-tools - modules for parsing (and creating!) MIME entities"
+SECTION = "libs"
+LICENSE = "Artistic|GPL"
+DEPENDS = " \
+       libio-stringy-perl-native \
+       libmailtools-perl-native \
+       libtest-pod-perl-native \
+       libtimedate-perl-native \
+       "
+RDEPENDS_${PN} += "\
+       libio-stringy-perl \
+       libmailtools-perl \
+       libtest-pod-perl \
+       perl-module-file-path \
+       perl-module-file-spec \
+       perl-module-file-temp \
+       perl-module-io-file \
+       perl-module-mime-base64 \
+       perl-module-net-smtp \
+       perl-module-test-more \
+       "
+BBCLASSEXTEND = "native"
+
+PR = "r0"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/D/DO/DONEILL/MIME-tools-${PV}.tar.gz;name=mime-tools-perl-${PV}"
+SRC_URI[mime-tools-perl-5.427.md5sum] = "4333caa7238cb9eafb5f7fb39fcbd8e7"
+SRC_URI[mime-tools-perl-5.427.sha256sum] = "844d2499fd2934d4836bd86dc73dd51955aea3fd88109b9d559d99449851fe6e"
+
+S = "${WORKDIR}/MIME-tools-${PV}"
+
+inherit cpan
+
+PACKAGE_ARCH = "all"