2007-05-04 15:23:34 +00:00
|
|
|
DESCRIPTION = "GNOME XML Parser library"
|
|
|
|
SECTION = "libs"
|
|
|
|
PRIORITY = "optional"
|
|
|
|
LICENSE = "MIT"
|
2007-10-21 21:44:06 +00:00
|
|
|
PR = "r5"
|
2007-05-04 15:23:34 +00:00
|
|
|
|
2007-08-02 12:57:39 +00:00
|
|
|
SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz"
|
2007-05-04 15:23:34 +00:00
|
|
|
|
|
|
|
inherit autotools pkgconfig binconfig
|
|
|
|
|
2007-08-02 12:57:39 +00:00
|
|
|
EXTRA_OECONF = "--without-python --without-debug --without-legacy --without-catalog --without-docbook --with-c14n"
|
2007-05-04 15:23:34 +00:00
|
|
|
|
|
|
|
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
|
2007-10-21 21:44:06 +00:00
|
|
|
install -m 0755 xml2-config ${STAGING_BINDIR_CROSS}
|
2007-05-04 15:23:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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}/*"
|