diff options
Diffstat (limited to 'meta/packages/expat')
-rw-r--r-- | meta/packages/expat/expat-1.95.7/autotools.patch | 13 | ||||
-rw-r--r-- | meta/packages/expat/expat-native_1.95.7.bb | 4 | ||||
-rw-r--r-- | meta/packages/expat/expat_1.95.7.bb | 30 |
3 files changed, 47 insertions, 0 deletions
diff --git a/meta/packages/expat/expat-1.95.7/autotools.patch b/meta/packages/expat/expat-1.95.7/autotools.patch new file mode 100644 index 0000000000..f22b2401c8 --- /dev/null +++ b/meta/packages/expat/expat-1.95.7/autotools.patch @@ -0,0 +1,13 @@ +--- expat-1.95.7/configure.in~autotools 2004-05-13 22:46:28.000000000 -0400 ++++ expat-1.95.7/configure.in 2004-05-13 22:46:39.000000000 -0400 +@@ -50,9 +50,7 @@ + + 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/meta/packages/expat/expat-native_1.95.7.bb b/meta/packages/expat/expat-native_1.95.7.bb new file mode 100644 index 0000000000..2c40ba8488 --- /dev/null +++ b/meta/packages/expat/expat-native_1.95.7.bb @@ -0,0 +1,4 @@ +SECTION = "libs" +include expat_${PV}.bb +inherit native +FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/expat-${PV}" diff --git a/meta/packages/expat/expat_1.95.7.bb b/meta/packages/expat/expat_1.95.7.bb new file mode 100644 index 0000000000..c3bbb8981b --- /dev/null +++ b/meta/packages/expat/expat_1.95.7.bb @@ -0,0 +1,30 @@ +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 +} |