libxml2 : convert to new staging and fix python error in gnome-doc-utils
authorDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Thu, 18 Feb 2010 20:26:58 +0000 (21:26 +0100)
committerDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Thu, 25 Feb 2010 16:00:13 +0000 (17:00 +0100)
Converting libxml2 recipes to the new staging way
  fixed the error where,during the compilation of gnome-doc-utils
  libxml2.py couldn't be find,but strangely the libxml package had
  only libxml.py

Also removed the following useless part as suggested by Phil Blundell
  on mailing list:
       install -d ${STAGING_DATADIR}/aclocal/
       install -d ${STAGING_BINDIR_CROSS}

recipes/libxml/libxml2-native.inc
recipes/libxml/libxml2-native_2.7.3.bb
recipes/libxml/libxml2.inc

index 3f67152..82d36b9 100644 (file)
@@ -22,6 +22,6 @@ do_configure (){
        autotools_do_configure ${EXTRA_LIBXML2_OECONF}
 }
 
-do_stage () {
-       oe_runmake install
+do_install_append() {
+       :
 }
index 101489e..b324228 100644 (file)
@@ -5,7 +5,7 @@ LICENSE = "MIT"
 
 SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz"
 
-INC_PR = "r2"
+INC_PR = "r3"
 
 inherit autotools pkgconfig binconfig
 
@@ -13,11 +13,7 @@ EXTRA_OECONF = "--without-python --without-debug --without-legacy --with-catalog
 
 export LDFLAGS += "-ldl"
 
-do_stage() {
-       autotools_stage_all
-       install -d ${STAGING_DATADIR}/aclocal/
-       install -d ${STAGING_BINDIR_CROSS}
-
+do_install_append() {
        install -m 0644 libxml.m4 ${STAGING_DATADIR}/aclocal/
        #this is need it by php during its install
        install -m 0755 xml2-config ${STAGING_BINDIR_CROSS}