[oe-commits] : Add new recipes. Old recipes do not compile with gcc 4.3. They need backports.
OE GIT Trial
gittrial at amethyst.openembedded.net
Sat Sep 20 00:24:03 UTC 2008
Module: OE.dev
Branch: master
Commit: 6d0b9e510c58130510af75d424cf31bbea8bbb1f
URL: http://gitweb.openembedded.net//OE.dev.git/?a=commit;h=6d0b9e510c58130510af75d424cf31bbea8bbb1f
Author: <khem at openembedded.org>
Date: Fri Sep 19 23:59:19 2008 +0000
Add new recipes. Old recipes do not compile with gcc 4.3. They need backports.
---
packages/libxml/libxml2-native_2.6.32.bb | 24 ++++++++++++++++++++++++
packages/libxml/libxml2_2.6.32.bb | 4 ++++
2 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/packages/libxml/libxml2-native_2.6.32.bb b/packages/libxml/libxml2-native_2.6.32.bb
new file mode 100644
index 0000000..914a301
--- /dev/null
+++ b/packages/libxml/libxml2-native_2.6.32.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "GNOME XML library"
+DEPENDS = "python-native"
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libxml2-${PV}"
+PR = "r0"
+
+SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz"
+S = "${WORKDIR}/libxml2-${PV}"
+
+inherit autotools native pkgconfig
+
+def libxml2_native_python_dir(d):
+ import os, bb
+ staging_incdir = bb.data.getVar( "STAGING_INCDIR", d, 1 )
+ if os.path.exists( "%s/python2.5" % staging_incdir ): return "python2.5"
+ if os.path.exists( "%s/python2.4" % staging_incdir ): return "python2.4"
+ if os.path.exists( "%s/python2.3" % staging_incdir ): return "python2.3"
+ raise "No Python in STAGING_INCDIR. Forgot to build python-native ?"
+
+EXTRA_OECONF = "--with-python=${STAGING_INCDIR}/${@libxml2_native_python_dir(d)} \
+ --without-debug --without-legacy --without-catalog --without-docbook --with-c14n"
+
+do_stage () {
+ oe_runmake install
+}
diff --git a/packages/libxml/libxml2_2.6.32.bb b/packages/libxml/libxml2_2.6.32.bb
new file mode 100644
index 0000000..555a436
--- /dev/null
+++ b/packages/libxml/libxml2_2.6.32.bb
@@ -0,0 +1,4 @@
+require libxml2.inc
+
+PR = "r0"
+
More information about the Openembedded-commits
mailing list