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.0.1/autotools.patch17
-rw-r--r--meta/recipes-core/expat/expat.inc19
-rw-r--r--meta/recipes-core/expat/expat_2.0.1.bb3
3 files changed, 39 insertions, 0 deletions
diff --git a/meta/recipes-core/expat/expat-2.0.1/autotools.patch b/meta/recipes-core/expat/expat-2.0.1/autotools.patch
new file mode 100644
index 0000000000..ff1578f47e
--- /dev/null
+++ b/meta/recipes-core/expat/expat-2.0.1/autotools.patch
@@ -0,0 +1,17 @@
1# avoid to use expat's own *.m4
2#
3# comment added by Kevin Tian <kevin.tian@intel.com>, 2010-07-07
4
5diff -bur expat-2.0.0~orig/configure.in expat-2.0.0/configure.in
6--- expat-2.0.0~orig/configure.in 2006-01-10 19:10:46.000000000 -0600
7+++ expat-2.0.0/configure.in 2006-02-10 19:12:24.000000000 -0600
8@@ -50,9 +50,6 @@
9
10 AC_CONFIG_HEADER(expat_config.h)
11
12-sinclude(conftools/libtool.m4)
13-sinclude(conftools/ac_c_bigendian_cross.m4)
14-
15 AC_LIBTOOL_WIN32_DLL
16 AC_PROG_LIBTOOL
17
diff --git a/meta/recipes-core/expat/expat.inc b/meta/recipes-core/expat/expat.inc
new file mode 100644
index 0000000000..8c5010e481
--- /dev/null
+++ b/meta/recipes-core/expat/expat.inc
@@ -0,0 +1,19 @@
1DESCRIPTION = "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)"
2HOMEPAGE = "http://expat.sourceforge.net/"
3SECTION = "libs"
4LICENSE = "MIT"
5
6SRC_URI = "${SOURCEFORGE_MIRROR}/expat/expat-${PV}.tar.gz \
7 file://autotools.patch"
8
9inherit autotools lib_package
10
11# This package uses an archive format known to have issue with some
12# versions of gzip
13do_unpack[depends] += "gzip-native:do_populate_sysroot"
14
15do_configure_prepend () {
16 rm -f ${S}/conftools/libtool.m4
17}
18
19BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-core/expat/expat_2.0.1.bb b/meta/recipes-core/expat/expat_2.0.1.bb
new file mode 100644
index 0000000000..9983fe5838
--- /dev/null
+++ b/meta/recipes-core/expat/expat_2.0.1.bb
@@ -0,0 +1,3 @@
1require expat.inc
2
3PR = "r0"