summaryrefslogtreecommitdiff
path: root/expat
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2003-10-01 23:57:55 +0000
committerChris Larson <clarson@kergoth.com>2003-10-01 23:57:55 +0000
commit2a3e9b7ea7af418b86fab665e94c2dcfede07b51 (patch)
tree088b1dee9b4487bb5424aedb58f5349c32c56107 /expat
parentf0cce9a40b2f65e690ce6ae62de80abc532f29fc (diff)
Correct various builds, including expat and pcre.
BKrev: 3f7b6a03P_KMk2YlUkmMee_qcSllSA
Diffstat (limited to 'expat')
-rw-r--r--expat/expat-1.95.6.oe26
-rw-r--r--expat/expat-1.95.6/buildsystem.patch0
2 files changed, 26 insertions, 0 deletions
diff --git a/expat/expat-1.95.6.oe b/expat/expat-1.95.6.oe
index e69de29bb2..07833713ba 100644
--- a/expat/expat-1.95.6.oe
+++ b/expat/expat-1.95.6.oe
@@ -0,0 +1,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
+}
diff --git a/expat/expat-1.95.6/buildsystem.patch b/expat/expat-1.95.6/buildsystem.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/expat/expat-1.95.6/buildsystem.patch