diff options
Diffstat (limited to 'expat')
-rw-r--r-- | expat/expat-1.95.6.oe | 26 | ||||
-rw-r--r-- | expat/expat-1.95.6/buildsystem.patch | 0 |
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 |