chinook-compat: add new toolchain options and stick to util-linux
[openembedded.git] / recipes / libxml / libxml2.inc
blobf7ecaff97752047760347f2bcc1b24d56f0250c0
1 DESCRIPTION = "GNOME XML Parser library"
2 SECTION = "libs"
3 PRIORITY = "optional"
4 LICENSE = "MIT"
6 SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz"
8 inherit autotools pkgconfig binconfig
10 EXTRA_OECONF = "--without-python --without-debug --without-legacy --without-catalog --without-docbook --with-c14n"
12 export LDFLAGS += "-ldl"
14 do_stage() {
15         autotools_stage_all
16         install -d ${STAGING_DATADIR}/aclocal/
17         install -d ${STAGING_BINDIR_CROSS}
19         install -m 0644 libxml.m4 ${STAGING_DATADIR}/aclocal/
20         #this is need it by php during its install
21         install -m 0755 xml2-config ${STAGING_BINDIR_CROSS}
24 DEBIANNAME_${PN} = "libxml2"
26 PACKAGES = "${PN}-dbg ${PN}-dev ${PN}-utils ${PN} ${PN}-doc ${PN}-locale"
28 FILES_${PN}-dev += "${bindir}/*-config"
29 FILES_${PN}-utils += "${bindir}/* ${libdir}/*.sh"