summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/expat
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/expat')
-rw-r--r--meta/recipes-core/expat/expat-2.1.0/autotools.patch24
-rw-r--r--meta/recipes-core/expat/expat.inc20
-rw-r--r--meta/recipes-core/expat/expat_2.1.0.bb5
3 files changed, 49 insertions, 0 deletions
diff --git a/meta/recipes-core/expat/expat-2.1.0/autotools.patch b/meta/recipes-core/expat/expat-2.1.0/autotools.patch
new file mode 100644
index 0000000000..0e599697a6
--- /dev/null
+++ b/meta/recipes-core/expat/expat-2.1.0/autotools.patch
@@ -0,0 +1,24 @@
1Avoid using expat's m4 files
2
3Upstream-Status: Inappropriate [Other]
4Workaround specific to our build system.
5
6Signed-off-by: Kevin Tian <kevin.tian@intel.com>
7Signed-off-by: Scott Garman <scott.a.garman@intel.com>
8
9Updated to apply over expat 2.1.0
10
11Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
12
13diff -Nurd expat-2.1.0/configure.in expat-2.1.0/configure.in
14--- expat-2.1.0/configure.in 2012-03-04 01:45:53.000000000 +0200
15+++ expat-2.1.0/configure.in 2012-05-10 21:04:44.000000000 +0300
16@@ -51,8 +51,6 @@
17
18 AC_CONFIG_HEADER(expat_config.h)
19
20-sinclude(conftools/ac_c_bigendian_cross.m4)
21-
22 AC_LIBTOOL_WIN32_DLL
23 AC_PROG_LIBTOOL
24
diff --git a/meta/recipes-core/expat/expat.inc b/meta/recipes-core/expat/expat.inc
new file mode 100644
index 0000000000..6dfafe94d2
--- /dev/null
+++ b/meta/recipes-core/expat/expat.inc
@@ -0,0 +1,20 @@
1SUMMARY = "A stream-oriented XML parser library"
2DESCRIPTION = "Expat is an XML parser library written in C. It is a stream-oriented parser in which an application registers handlers for things the parser might find in the XML document (like start tags)"
3HOMEPAGE = "http://expat.sourceforge.net/"
4SECTION = "libs"
5LICENSE = "MIT"
6
7SRC_URI = "${SOURCEFORGE_MIRROR}/expat/expat-${PV}.tar.gz \
8 file://autotools.patch"
9
10inherit autotools lib_package gzipnative
11
12# This package uses an archive format known to have issue with some
13# versions of gzip
14do_unpack[depends] += "gzip-native:do_populate_sysroot"
15
16do_configure_prepend () {
17 rm -f ${S}/conftools/libtool.m4
18}
19
20BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-core/expat/expat_2.1.0.bb b/meta/recipes-core/expat/expat_2.1.0.bb
new file mode 100644
index 0000000000..b958742edc
--- /dev/null
+++ b/meta/recipes-core/expat/expat_2.1.0.bb
@@ -0,0 +1,5 @@
1require expat.inc
2LIC_FILES_CHKSUM = "file://COPYING;md5=1b71f681713d1256e1c23b0890920874"
3
4SRC_URI[md5sum] = "dd7dab7a5fea97d2a6a43f511449b7cd"
5SRC_URI[sha256sum] = "823705472f816df21c8f6aa026dd162b280806838bb55b3432b0fb1fcca7eb86"