aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/libxml/libxml2-native.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/libxml/libxml2-native.inc')
-rw-r--r--recipes/libxml/libxml2-native.inc22
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes/libxml/libxml2-native.inc b/recipes/libxml/libxml2-native.inc
new file mode 100644
index 0000000000..603f48d196
--- /dev/null
+++ b/recipes/libxml/libxml2-native.inc
@@ -0,0 +1,22 @@
+DESCRIPTION = "GNOME XML library"
+DEPENDS = "python-native"
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libxml2-${PV}"
+PR = "r3"
+
+SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz"
+S = "${WORKDIR}/libxml2-${PV}"
+
+inherit distutils-base autotools native pkgconfig
+
+EXTRA_OECONF = "\
+ --with-python=${STAGING_INCDIR}/${PYTHON_MAJMIN} \
+ --without-debug \
+ --without-legacy \
+ --without-catalog \
+ --without-docbook \
+ --with-c14n \
+"
+
+do_stage () {
+ oe_runmake install
+}