+++ /dev/null
-DESCRIPTION = "GNOME XML library"
-DEPENDS = "python-native"
-FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libxml2-${PV}"
-
-SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz"
-S = "${WORKDIR}/libxml2-${PV}"
-
-inherit autotools native pkgconfig distutils-native-base
-
-do_configure_prepend () {
- EXTRA_LIBXML2_OECONF="\
- --with-python=${PYTHON_DIR} \
- --without-debug \
- --without-legacy \
- --with-catalog \
- --without-docbook \
- --with-c14n \
- "
-}
-
-do_configure (){
- autotools_do_configure ${EXTRA_LIBXML2_OECONF}
-}
-
-do_install_append() {
- :
-}
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "MIT"
+DEPENDS_virtclass-native = "python-native"
-SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz"
+SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz;name=archive"
+S = "${WORKDIR}/${BPN}-${PV}"
-INC_PR = "r3"
+INC_PR = "r4"
-inherit autotools pkgconfig binconfig
+BBCLASSEXTEND = "native"
-EXTRA_OECONF = "--without-python --without-debug --without-legacy --with-catalog --with-docbook --with-c14n"
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "\
+ --without-debug \
+ --without-legacy \
+ --with-catalog \
+ --with-docbook \
+ --with-c14n"
+
+EXTRA_OECONF_append = " --without-python"
+EXTRA_OECONF_append_virtclass-native = " --with-python=${PYTHON_DIR}"
export LDFLAGS += "-ldl"
#this is need it by php during its install
install -m 0755 xml2-config ${STAGING_BINDIR_CROSS}
}
+do_install_append_virtclass-native() {
+ :
+}
DEBIANNAME_${PN} = "libxml2"