[poky] [PATCH 2/3] Add new package libxml-perl in order to enable graphic LSB test(OLVER-Core test).

Lu Jingdong jingdong.lu at windriver.com
Tue Nov 23 20:46:10 PST 2010


Signed-off-by: Jingdong Lu <jingdong.lu at windriver.com>
---
 meta/recipes-devtools/perl/libxml-perl_0.08.bb |   15 +++++++++++++++
 1 files changed, 15 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..6c3c9c7
--- /dev/null
+++ b/meta/recipes-devtools/perl/libxml-perl_0.08.bb
@@ -0,0 +1,15 @@
+SECTION = "libs"
+LICENSE = "Artistic"
+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

Pull URL:
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jingdonglu/distro

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




More information about the poky mailing list