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}
autotools_do_configure ${EXTRA_LIBXML2_OECONF}
}
-do_stage () {
- oe_runmake install
+do_install_append() {
+ :
}
require libxml2-native.inc
-PR = "r0"
+PR = "r1"
SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz"
-INC_PR = "r2"
+INC_PR = "r3"
inherit autotools pkgconfig binconfig
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}