summaryrefslogtreecommitdiff
path: root/recipes/expat/expat_1.95.7.bb
blob: 7b4830593334752fa0400890f62a2b613b3e8894 (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
require expat.inc
PR = "r2"

SRC_URI += "file://autotools.patch;patch=1 \
	    file://expat-XMLCALL.patch;patch=1 \
	   "

inherit lib_package

do_configure () {
	rm -f ${S}/conftools/libtool.m4
	autotools_do_configure
}

do_stage () {
	install -m 0644 ${S}/lib/expat.h ${STAGING_INCDIR}/
	oe_libinstall -so libexpat ${STAGING_LIBDIR}
}

do_install () {
	oe_runmake prefix="${D}${prefix}" \
		bindir="${D}${bindir}" \
		libdir="${D}${libdir}" \
		includedir="${D}${includedir}" \
		install
}