summaryrefslogtreecommitdiff
path: root/packages/expat/expat_1.95.6.bb
blob: a6ac0f5b00cb8922070b2f921db0e00f28bd3395 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
SECTION = "libs"
DESCRIPTION = "Jim Clarkes XML parser library."
LICENSE = "MIT"
PR = "r1"

SRC_URI = "${SOURCEFORGE_MIRROR}/expat/expat-${PV}.tar.gz"
S = "${WORKDIR}/expat-${PV}"

inherit autotools 
export LTCC = "${CC}"

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
}