[poky] [PATCH 5/8] Add new package perl-uri in order to enable graphic LSB test(OLVER-Core test).

Lu Jingdong jingdong.lu at windriver.com
Fri Dec 3 01:28:13 PST 2010


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

diff --git a/meta/recipes-devtools/perl/perl-uri_1.56.bb
b/meta/recipes-devtools/perl/perl-uri_1.56.bb
new file mode 100644
index 0000000..7dd5668
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-uri_1.56.bb
@@ -0,0 +1,25 @@
+DESCRIPTION = "This package contains the URI.pm module with friends. \
+The module implements the URI class. URI objects can be used to access
\
+and manipulate the various components that make up these strings."
+
+SECTION = "libs"
+LICENSE = "Artistic"
+PR = "r0"
+
+LIC_FILES_CHKSUM =
"file://README;beginline=26;endline=30;md5=6c33ae5c87fd1c4897714e122dd9c23d"
+
+DEPENDS += "perl"
+
+SRC_URI = "http://www.cpan.org/authors/id/G/GA/GAAS/URI-${PV}.tar.gz"
+
+S = "${WORKDIR}/URI-${PV}"
+
+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