aboutsummaryrefslogtreecommitdiffstats
path: root/meta-perl/recipes-perl
diff options
context:
space:
mode:
authorTim Orling <timothy.t.orling@linux.intel.com>2018-01-27 01:29:03 -0800
committerArmin Kuster <akuster808@gmail.com>2018-02-11 11:50:56 -0800
commit427184e46a1b9138159f0baa5db497807b0a65a1 (patch)
tree2072bfa6456621fa0a96eeb084326b55457af606 /meta-perl/recipes-perl
parent120ee26f51c7a26f1d90de5986733ceb29919ae1 (diff)
downloadmeta-openembedded-427184e46a1b9138159f0baa5db497807b0a65a1.tar.gz
meta-openembedded-427184e46a1b9138159f0baa5db497807b0a65a1.tar.bz2
meta-openembedded-427184e46a1b9138159f0baa5db497807b0a65a1.zip
libmime-types-perl: upgrade 2.14 -> 2.17
* Fix RDEPENDS * Install bin/collect-types Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
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}
}