mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-11 04:49:58 +00:00
libhtml-parser-perl: enable ptest
Add runtime and ptest dependencies Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -16,10 +16,30 @@ S = "${WORKDIR}/HTML-Parser-${PV}"
|
|||||||
|
|
||||||
EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}"
|
EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}"
|
||||||
|
|
||||||
inherit cpan
|
inherit cpan ptest-perl
|
||||||
|
|
||||||
do_compile() {
|
do_compile() {
|
||||||
export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')"
|
export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')"
|
||||||
cpan_do_compile
|
cpan_do_compile
|
||||||
}
|
}
|
||||||
|
|
||||||
|
RDEPENDS_${PN} += "\
|
||||||
|
perl-module-exporter \
|
||||||
|
perl-module-strict \
|
||||||
|
perl-module-vars \
|
||||||
|
perl-module-xsloader \
|
||||||
|
libhtml-tagset-perl \
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPENDS_${PN}-ptest += "\
|
||||||
|
liburi-perl \
|
||||||
|
perl-module-config \
|
||||||
|
perl-module-file-spec \
|
||||||
|
perl-module-filehandle \
|
||||||
|
perl-module-io-file \
|
||||||
|
perl-module-selectsaver \
|
||||||
|
perl-module-test \
|
||||||
|
perl-module-test-more \
|
||||||
|
"
|
||||||
|
|
||||||
BBCLASSEXTEND = "native"
|
BBCLASSEXTEND = "native"
|
||||||
|
|||||||
Reference in New Issue
Block a user