mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 18:49:33 +02:00
Upgrade libxml2 version
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1598 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
32
meta/packages/libxml/libxml2_2.6.26.bb
Normal file
32
meta/packages/libxml/libxml2_2.6.26.bb
Normal file
@@ -0,0 +1,32 @@
|
||||
DESCRIPTION = "GNOME XML Parser library"
|
||||
SECTION = "libs"
|
||||
PRIORITY = "optional"
|
||||
LICENSE = "MIT"
|
||||
PR = "r4"
|
||||
|
||||
SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz \
|
||||
file://no-testapi.patch;patch=1"
|
||||
|
||||
inherit autotools pkgconfig binconfig
|
||||
|
||||
EXTRA_OECONF = "--without-python --without-debug --without-legacy --without-catalog --without-docbook --with-c14n --without-schemas --without-schematron --with-reader"
|
||||
|
||||
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
|
||||
install -m 0755 xml2-config ${STAGING_BINDIR}
|
||||
}
|
||||
|
||||
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}/*"
|
||||
Reference in New Issue
Block a user