[oe-commits] org.oe.dev libxml2: update to 2.6.29, closes #2702

antti.andreimann commit openembedded-commits at lists.openembedded.org
Thu Aug 2 12:56:30 UTC 2007


libxml2: update to 2.6.29, closes #2702

Author: antti.andreimann at mail.ee
Branch: org.openembedded.dev
Revision: 7f1d1225a3ba5bf3f1caca026034ea32f8779455
ViewMTN: http://monotone.openembedded.org/revision.psp?id=7f1d1225a3ba5bf3f1caca026034ea32f8779455
Files:
1
packages/libxml/libxml2-native_2.6.29.bb
packages/libxml/libxml2_2.6.29.bb
Diffs:

#
# mt diff -r12ec1f9512e2ed14ec81d1f32d608c0b084486af -r7f1d1225a3ba5bf3f1caca026034ea32f8779455
#
# 
# 
# add_file "packages/libxml/libxml2-native_2.6.29.bb"
#  content [a076be1d91dc524628f265be229c0bd8108a0a6a]
# 
# add_file "packages/libxml/libxml2_2.6.29.bb"
#  content [226ab2f3dffb4d2f943bfb48698ddd310ad25552]
# 
============================================================
--- packages/libxml/libxml2-native_2.6.29.bb	a076be1d91dc524628f265be229c0bd8108a0a6a
+++ packages/libxml/libxml2-native_2.6.29.bb	a076be1d91dc524628f265be229c0bd8108a0a6a
@@ -0,0 +1,17 @@
+DESCRIPTION = "GNOME XML library"
+PR = "r1"
+
+SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz"
+
+DEPENDS = "python-native"
+
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libxml2-${PV}"
+S = "${WORKDIR}/libxml2-${PV}"
+
+inherit autotools native pkgconfig
+
+EXTRA_OECONF = "--with-python=${STAGING_INCDIR}/python2.4 --without-debug --without-legacy --without-catalog --without-docbook --with-c14n"
+
+do_stage () {
+	oe_runmake install
+}
============================================================
--- packages/libxml/libxml2_2.6.29.bb	226ab2f3dffb4d2f943bfb48698ddd310ad25552
+++ packages/libxml/libxml2_2.6.29.bb	226ab2f3dffb4d2f943bfb48698ddd310ad25552
@@ -0,0 +1,34 @@
+# NOTE! This is an update file and will go away when upstream updates
+# TODO: send this to upstream
+
+DESCRIPTION = "GNOME XML Parser library"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "MIT"
+PR = "r4"
+
+SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz"
+
+inherit autotools pkgconfig binconfig
+
+EXTRA_OECONF = "--without-python --without-debug --without-legacy --without-catalog --without-docbook --with-c14n"
+
+export LDFLAGS += "-ldl"
+
+do_stage() {
+	autotools_stage_all
+	install -m 0644 libxml.m4 ${STAGING_DATADIR}/aclocal/
+        #this is need it by php during its install
+        install -m 0755 xml2-config ${STAGING_BINDIR}
+}
+
+python populate_packages_prepend () {
+	# autonamer would call this libxml2-2, but we don't want that
+	if bb.data.getVar('DEBIAN_NAMES', d, 1):
+		bb.data.setVar('PKG_libxml2', 'libxml2', d)
+}
+
+PACKAGES = "${PN}-dbg ${PN}-dev ${PN}-utils ${PN} ${PN}-doc ${PN}-locale"
+
+FILES_${PN}-dev += "${bindir}/*-config"
+FILES_${PN}-utils += "${bindir}/*"






More information about the Openembedded-commits mailing list