diff options
Diffstat (limited to 'external/meta-openembedded/meta-perl/recipes-perl/libxml')
-rw-r--r-- | external/meta-openembedded/meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0134.bb (renamed from external/meta-openembedded/meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0132.bb) | 30 |
1 files changed, 27 insertions, 3 deletions
diff --git a/external/meta-openembedded/meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0132.bb b/external/meta-openembedded/meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0134.bb index 1f184011..6fabf268 100644 --- a/external/meta-openembedded/meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0132.bb +++ b/external/meta-openembedded/meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0134.bb @@ -30,12 +30,12 @@ SRC_URI = "http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/XML-LibXML-${PV}. LIC_FILES_CHKSUM = "file://debian/copyright;md5=64eda1bc135f0ece1d1187f2a8ac82c1 \ file://LICENSE;md5=97871bde150daeb5e61ad95137ff2446 \ " -SRC_URI[libxml.md5sum] = "43546fd9a3974f19323f9fb04861ece9" -SRC_URI[libxml.sha256sum] = "721452e3103ca188f5968ab06d5ba29fe8e00e49f4767790882095050312d476" +SRC_URI[libxml.md5sum] = "dce687dd8b7e82d1c359fd74b1852f64" +SRC_URI[libxml.sha256sum] = "f0bca4d0c2da35d879fee4cd13f352014186cedab27ab5e191f39b5d7d4f46cf" S = "${WORKDIR}/XML-LibXML-${PV}" -inherit cpan +inherit cpan ptest-perl EXTRA_CPANFLAGS = "INC=-I${STAGING_INCDIR}/libxml2 LIBS=-L${STAGING_LIBDIR}" @@ -45,3 +45,27 @@ CFLAGS += " -D_GNU_SOURCE " BUILD_CFLAGS += " -D_GNU_SOURCE " FILES_${PN}-dbg =+ "${libdir}/perl/vendor_perl/*/auto/XML/LibXML/.debug/" + +RDEPENDS_${PN}-ptest += " \ + liburi-perl \ + perl-module-encode-byte \ + perl-module-encode-unicode \ + perl-module-locale \ + perl-module-perlio-scalar \ + perl-module-test-more \ +" + +do_install_prepend() { + # test requires "-T" (taint) command line option + rm -rf ${B}/t/pod.t + # this only applies to author build + rm -rf ${B}/t/pod-files-presence.t +} + +do_install_ptest() { + cp -r ${B}/t/data ${D}${PTEST_PATH}/t/ + cp -r ${B}/t/lib ${D}${PTEST_PATH}/t/ + cp -r ${B}/example ${D}${PTEST_PATH} + cp -r ${B}/test ${D}${PTEST_PATH} + chown -R root:root ${D}${PTEST_PATH} +} |