summaryrefslogtreecommitdiff
path: root/expat/expat_1.95.7.oe
blob: 546d151d86915391102332b76e7dd97a47a30d62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
DESCRIPTION = "Jim Clarkes XML parser library."
DEPENDS = "virtual/libc"

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

inherit autotools libtool lib_package
export LTCC = "${CC}"

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

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