git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3339 311d38ba-8fff-0310-9ca6-ca027cbcb966
27 lines
667 B
BlitzBasic
27 lines
667 B
BlitzBasic
require libxml2.inc
|
|
|
|
PR = "r6"
|
|
|
|
export LDFLAGS += "-ldl"
|
|
|
|
do_stage() {
|
|
autotools_stage_all
|
|
install -d ${STAGING_DATADIR}/aclocal/
|
|
install -d ${STAGING_BINDIR_CROSS}
|
|
|
|
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}
|
|
}
|
|
|
|
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}/*"
|