diff options
Diffstat (limited to 'meta/packages/libxml/libxml2_2.6.26.bb')
-rw-r--r-- | meta/packages/libxml/libxml2_2.6.26.bb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/packages/libxml/libxml2_2.6.26.bb b/meta/packages/libxml/libxml2_2.6.26.bb new file mode 100644 index 0000000000..e330050b81 --- /dev/null +++ b/meta/packages/libxml/libxml2_2.6.26.bb | |||
@@ -0,0 +1,32 @@ | |||
1 | DESCRIPTION = "GNOME XML Parser library" | ||
2 | SECTION = "libs" | ||
3 | PRIORITY = "optional" | ||
4 | LICENSE = "MIT" | ||
5 | PR = "r4" | ||
6 | |||
7 | SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz \ | ||
8 | file://no-testapi.patch;patch=1" | ||
9 | |||
10 | inherit autotools pkgconfig binconfig | ||
11 | |||
12 | EXTRA_OECONF = "--without-python --without-debug --without-legacy --without-catalog --without-docbook --with-c14n --without-schemas --without-schematron --with-reader" | ||
13 | |||
14 | export LDFLAGS += "-ldl" | ||
15 | |||
16 | do_stage() { | ||
17 | autotools_stage_all | ||
18 | install -m 0644 libxml.m4 ${STAGING_DATADIR}/aclocal/ | ||
19 | #this is need it by php during its install | ||
20 | install -m 0755 xml2-config ${STAGING_BINDIR} | ||
21 | } | ||
22 | |||
23 | python populate_packages_prepend () { | ||
24 | # autonamer would call this libxml2-2, but we don't want that | ||
25 | if bb.data.getVar('DEBIAN_NAMES', d, 1): | ||
26 | bb.data.setVar('PKG_libxml2', 'libxml2', d) | ||
27 | } | ||
28 | |||
29 | PACKAGES = "${PN}-dbg ${PN}-dev ${PN}-utils ${PN} ${PN}-doc ${PN}-locale" | ||
30 | |||
31 | FILES_${PN}-dev += "${bindir}/*-config" | ||
32 | FILES_${PN}-utils += "${bindir}/*" | ||