diff options
Diffstat (limited to 'meta/recipes-core/expat')
-rw-r--r-- | meta/recipes-core/expat/expat-2.1.0/autotools.patch | 24 | ||||
-rw-r--r-- | meta/recipes-core/expat/expat.inc | 20 | ||||
-rw-r--r-- | meta/recipes-core/expat/expat_2.1.0.bb | 5 |
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 @@ | |||
1 | Avoid using expat's m4 files | ||
2 | |||
3 | Upstream-Status: Inappropriate [Other] | ||
4 | Workaround specific to our build system. | ||
5 | |||
6 | Signed-off-by: Kevin Tian <kevin.tian@intel.com> | ||
7 | Signed-off-by: Scott Garman <scott.a.garman@intel.com> | ||
8 | |||
9 | Updated to apply over expat 2.1.0 | ||
10 | |||
11 | Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> | ||
12 | |||
13 | diff -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 @@ | |||
1 | SUMMARY = "A stream-oriented XML parser library" | ||
2 | DESCRIPTION = "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)" | ||
3 | HOMEPAGE = "http://expat.sourceforge.net/" | ||
4 | SECTION = "libs" | ||
5 | LICENSE = "MIT" | ||
6 | |||
7 | SRC_URI = "${SOURCEFORGE_MIRROR}/expat/expat-${PV}.tar.gz \ | ||
8 | file://autotools.patch" | ||
9 | |||
10 | inherit autotools lib_package gzipnative | ||
11 | |||
12 | # This package uses an archive format known to have issue with some | ||
13 | # versions of gzip | ||
14 | do_unpack[depends] += "gzip-native:do_populate_sysroot" | ||
15 | |||
16 | do_configure_prepend () { | ||
17 | rm -f ${S}/conftools/libtool.m4 | ||
18 | } | ||
19 | |||
20 | BBCLASSEXTEND = "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 @@ | |||
1 | require expat.inc | ||
2 | LIC_FILES_CHKSUM = "file://COPYING;md5=1b71f681713d1256e1c23b0890920874" | ||
3 | |||
4 | SRC_URI[md5sum] = "dd7dab7a5fea97d2a6a43f511449b7cd" | ||
5 | SRC_URI[sha256sum] = "823705472f816df21c8f6aa026dd162b280806838bb55b3432b0fb1fcca7eb86" | ||