summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-11-03 15:51:50 +0100
committerKoen Kooi <koen@openembedded.org>2009-11-03 15:51:50 +0100
commitc55f2f7273d79317f88122cdcc08608d5ce67a6d (patch)
tree7fc214f5e62152bb69504dfe4b4fb3e7b2271322 /recipes
parent14caede54c01f7ab94284b576438e1bd371073f6 (diff)
libxml-parser-perl: add 2.36
Diffstat (limited to 'recipes')
-rw-r--r--recipes/perl/libxml-parser-perl_2.36.bb21
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes/perl/libxml-parser-perl_2.36.bb b/recipes/perl/libxml-parser-perl_2.36.bb
new file mode 100644
index 0000000000..c96489b2de
--- /dev/null
+++ b/recipes/perl/libxml-parser-perl_2.36.bb
@@ -0,0 +1,21 @@
+SECTION = "libs"
+LICENSE = "Artistic"
+DEPENDS += "expat expat-native"
+
+SRC_URI = "http://www.cpan.org/modules/by-module/XML/XML-Parser-${PV}.tar.gz"
+
+S = "${WORKDIR}/XML-Parser-${PV}"
+
+EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}"
+
+inherit cpan
+
+do_compile() {
+ export LIBC="$(find ${STAGING_DIR}/lib -name 'libc-*.so')"
+ cpan_do_compile
+}
+
+
+
+FILES_${PN} = "${PERLLIBDIRS}/auto/XML/Parser/Expat/* \
+ ${PERLLIBDIRS}/XML"