generic-poky/meta/packages/expat/expat_1.95.7.bb
Richard Purdie b2f192faab Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-07-21 10:10:31 +00:00

31 lines
662 B
BlitzBasic

SECTION = "libs"
DESCRIPTION = "Jim Clarkes XML parser library."
HOMEPAGE = "http://expat.sourceforge.net/"
LICENSE = "MIT"
PR = "r1"
SRC_URI = "${SOURCEFORGE_MIRROR}/expat/expat-${PV}.tar.gz \
file://autotools.patch;patch=1"
S = "${WORKDIR}/expat-${PV}"
inherit autotools lib_package
export LTCC = "${CC}"
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
}