summaryrefslogtreecommitdiff
path: root/expat/expat-1.95.6.oe
blob: 07833713bacc0dff2c90b73efcfe57a1c24579d8 (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
DESCRIPTION = Jim Clarkes XML parser library.
DEPENDS = virtual/libc
RDEPENDS = libc6

SRC_URI = ${SOURCEFORGE_MIRROR}/${PN}/${P}.tar.gz \
	  file://${FILESDIR}/buildsystem.patch;patch=1
S = "${WORKDIR}/${P}"

inherit autotools libtool
export LTCC=${CC}

do_stage () {
	install -m 0644 lib/expat.h ${STAGING_DIR}/target/include/
	install -m 0755 .libs/libexpat.so.0.4.0 ${STAGING_LIBDIR}/
	ln -sf libexpat.so.0.4.0 ${STAGING_LIBDIR}/libexpat.so.1
	ln -sf libexpat.so.0.4.0 ${STAGING_LIBDIR}/libexpat.so.0
	ln -sf libexpat.so.0.4.0 ${STAGING_LIBDIR}/libexpat.so
}

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