summaryrefslogtreecommitdiff
path: root/recipes/libxml/libxml2-native.inc
blob: 3f67152ca13a2a827b8aedfe49ed08ba334e70a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
DESCRIPTION = "GNOME XML library"
DEPENDS = "python-native"
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libxml2-${PV}"

SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz"
S = "${WORKDIR}/libxml2-${PV}"

inherit autotools native pkgconfig distutils-native-base

do_configure_prepend () {
	EXTRA_LIBXML2_OECONF="\
	--with-python=${PYTHON_DIR} \
	--without-debug \
	--without-legacy \
	--with-catalog \
	--without-docbook \
	--with-c14n \
	"
}

do_configure (){
	autotools_do_configure ${EXTRA_LIBXML2_OECONF}
}

do_stage () {
	oe_runmake install
}