aboutsummaryrefslogtreecommitdiffstats
path: root/meta-perl/recipes-perl
diff options
context:
space:
mode:
Diffstat (limited to 'meta-perl/recipes-perl')
-rw-r--r--meta-perl/recipes-perl/libmime/libmime-types-perl_2.17.bb (renamed from meta-perl/recipes-perl/libmime/libmime-types-perl_2.14.bb)20
1 files changed, 18 insertions, 2 deletions
diff --git a/meta-perl/recipes-perl/libmime/libmime-types-perl_2.14.bb b/meta-perl/recipes-perl/libmime/libmime-types-perl_2.17.bb
index ade0a062a..414753030 100644
--- a/meta-perl/recipes-perl/libmime/libmime-types-perl_2.14.bb
+++ b/meta-perl/recipes-perl/libmime/libmime-types-perl_2.17.bb
@@ -14,13 +14,29 @@ LIC_FILES_CHKSUM = "file://META.yml;beginline=11;endline=11;md5=963ce28228347875
SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MIME-Types-${PV}.tar.gz \
file://run-ptest \
"
-SRC_URI[md5sum] = "c1b9b7dea40fbb96c0e0048d10d66268"
-SRC_URI[sha256sum] = "4049cf0fc05205893f25fdbe07d1ab12bfc72259517db2c3348c1d1059730070"
+SRC_URI[md5sum] = "6f1441addab947137bac92c379a47ba3"
+SRC_URI[sha256sum] = "e04ed7d42f1ff3150a303805f2689c28f80b92c511784d4641cb7f040d3e8ff6"
S = "${WORKDIR}/MIME-Types-${PV}"
inherit cpan ptest
+RDEPENDS_${PN} = "\
+ perl-module-base \
+ perl-module-file-basename \
+ perl-module-file-spec \
+ perl-module-overload \
+"
+
+RDEPENDS_${PN}-ptest = "perl-module-lib perl-module-test-more"
+#RSUGGESTS_${PN}-ptest = "libmojo-base-perl"
+
+do_install () {
+ cpan_do_install
+ install -d ${D}${bindir}
+ install -m 755 ${S}/bin/collect-types ${D}${bindir}/collect-types
+}
+
do_install_ptest () {
cp -r ${B}/t ${D}${PTEST_PATH}
}