[poky] [PATCH 4/8] libxml-perl: Add libxml-perl

Lu Jingdong jingdong.lu at windriver.com
Wed Dec 8 02:16:55 PST 2010


Subject: [PATCH 4/8] libxml-perl: Add libxml-perl

Add libxml-perl in order to enable graphic LSB test(OLVER-Core test).

Signed-off-by: Jingdong Lu <jingdong.lu at windriver.com>
---
 meta/recipes-devtools/perl/libxml-perl_0.08.bb |   24
++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-devtools/perl/libxml-perl_0.08.bb

diff --git a/meta/recipes-devtools/perl/libxml-perl_0.08.bb
b/meta/recipes-devtools/perl/libxml-perl_0.08.bb
new file mode 100644
index 0000000..b642169
--- /dev/null
+++ b/meta/recipes-devtools/perl/libxml-perl_0.08.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "libxml-perl is a collection of smaller Perl modules,
scripts, and \
+documents for working with XML in Perl.  libxml-perl software \
+works in combination with XML::Parser, PerlSAX, XML::DOM, \
+XML::Grove and others."
+SUMMARY = "Collection of Perl modules for working with XML."
+SECTION = "libs"
+LICENSE = "Artistic"
+PR = "r0"
+
+LIC_FILES_CHKSUM =
"file://README;beginline=33;endline=35;md5=1705549eef7577a3d6ba71123a1f0ce8"
+
+DEPENDS += "libxml-parser-perl"
+
+SRC_URI =
"http://www.cpan.org/modules/by-module/XML/${PN}-${PV}.tar.gz"
+
+EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=
${STAGING_INCDIR}"
+
+inherit cpan
+
+do_compile() {
+       export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name
'libc-*.so')"
+       cpan_do_compile
+}
+
-- 
1.7.0.4

-- 
Lu Jingdong
jingdong.lu at windriver.com
China, Wind River




More information about the poky mailing list