summaryrefslogtreecommitdiff
path: root/packages/expat/expat_2.0.0.bb
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-02-13 00:49:32 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-02-13 00:49:32 +0000
commit70774a74a42e8c657b73f375e3273ad7be7681f1 (patch)
tree0471bbf65f1f4a68622619af1a3dfaea41eb0004 /packages/expat/expat_2.0.0.bb
parent610b038887abe64e94fbc8b30ab0cc46cc94b595 (diff)
expat: Add 2.0.0 thanks to Eric Shattow (shadows) (#672)
Diffstat (limited to 'packages/expat/expat_2.0.0.bb')
-rw-r--r--packages/expat/expat_2.0.0.bb32
1 files changed, 32 insertions, 0 deletions
diff --git a/packages/expat/expat_2.0.0.bb b/packages/expat/expat_2.0.0.bb
new file mode 100644
index 0000000000..b3bbe54b02
--- /dev/null
+++ b/packages/expat/expat_2.0.0.bb
@@ -0,0 +1,32 @@
+SECTION = "libs"
+DESCRIPTION = "Jim Clarkes XML parser library."
+HOMEPAGE = "http://expat.sourceforge.net/"
+LICENSE = "MIT"
+PR = "r0"
+
+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}/
+ install -m 0644 ${S}/lib/expat_external.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}" \
+ man1dir="${D}${mandir}/man1" \
+ install
+}