From 70774a74a42e8c657b73f375e3273ad7be7681f1 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 13 Feb 2006 00:49:32 +0000 Subject: expat: Add 2.0.0 thanks to Eric Shattow (shadows) (#672) --- packages/expat/expat-2.0.0/.mtn2git_empty | 0 packages/expat/expat-2.0.0/autotools.patch | 13 ++++++++++++ packages/expat/expat_2.0.0.bb | 32 ++++++++++++++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 packages/expat/expat-2.0.0/.mtn2git_empty create mode 100644 packages/expat/expat-2.0.0/autotools.patch create mode 100644 packages/expat/expat_2.0.0.bb diff --git a/packages/expat/expat-2.0.0/.mtn2git_empty b/packages/expat/expat-2.0.0/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/expat/expat-2.0.0/autotools.patch b/packages/expat/expat-2.0.0/autotools.patch new file mode 100644 index 0000000000..77aee3a833 --- /dev/null +++ b/packages/expat/expat-2.0.0/autotools.patch @@ -0,0 +1,13 @@ +diff -bur expat-2.0.0~orig/configure.in expat-2.0.0/configure.in +--- expat-2.0.0~orig/configure.in 2006-01-10 19:10:46.000000000 -0600 ++++ expat-2.0.0/configure.in 2006-02-10 19:12:24.000000000 -0600 +@@ -50,9 +50,6 @@ + + AC_CONFIG_HEADER(expat_config.h) + +-sinclude(conftools/libtool.m4) +-sinclude(conftools/ac_c_bigendian_cross.m4) +- + AC_LIBTOOL_WIN32_DLL + AC_PROG_LIBTOOL + 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 +} -- cgit v1.2.3