summaryrefslogtreecommitdiffstats
path: root/meta/packages/libxml/libxml2.inc
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-05 17:37:52 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-13 12:15:26 +0000
commit7541841b565be0b1ad2238b851b7ac736e48d762 (patch)
tree388bb3b86dc8d9691dbcc35eb04c34fa02ff7043 /meta/packages/libxml/libxml2.inc
parentb9cac51c380ed55a00fa522334fb90aa547e03f6 (diff)
downloadpoky-7541841b565be0b1ad2238b851b7ac736e48d762.tar.gz
libxml2: Convert to BBCLASSEXTEND (and drop unneeded custom staging function
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/libxml/libxml2.inc')
-rw-r--r--meta/packages/libxml/libxml2.inc18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/packages/libxml/libxml2.inc b/meta/packages/libxml/libxml2.inc
index e8b03cf02d..1aa7132ceb 100644
--- a/meta/packages/libxml/libxml2.inc
+++ b/meta/packages/libxml/libxml2.inc
@@ -7,6 +7,24 @@ SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz \
7 file://libxml-64bit.patch;patch=1 \ 7 file://libxml-64bit.patch;patch=1 \
8 file://libxml-nanohttp.patch;patch=1" 8 file://libxml-nanohttp.patch;patch=1"
9 9
10DEPENDS_virtclass-native = "python-native"
11
10inherit autotools pkgconfig binconfig 12inherit autotools pkgconfig binconfig
11 13
12EXTRA_OECONF = "--without-python --without-debug --without-legacy --without-catalog --without-docbook --with-c14n" 14EXTRA_OECONF = "--without-python --without-debug --without-legacy --without-catalog --without-docbook --with-c14n"
15EXTRA_OECONF_virtclass-native = "--with-python=${STAGING_DIR_NATIVE}/${prefix} --without-debug --without-legacy --with-catalog --without-docbook --with-c14n"
16
17export LDFLAGS += "-ldl"
18
19python populate_packages_prepend () {
20 # autonamer would call this libxml2-2, but we don't want that
21 if bb.data.getVar('DEBIAN_NAMES', d, 1):
22 bb.data.setVar('PKG_libxml2', 'libxml2', d)
23}
24
25PACKAGES = "${PN}-dbg ${PN}-dev ${PN}-utils ${PN} ${PN}-doc ${PN}-locale"
26
27FILES_${PN}-dev += "${bindir}/*-config"
28FILES_${PN}-utils += "${bindir}/*"
29
30BBCLASSEXTEND = "native"