summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/expat
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-02-05 17:39:59 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-02-16 18:05:38 +0000
commita046b8555cf1e935c2834ce653d3eb9588b55dc9 (patch)
tree2f8cd5b2c58ab237ff595ab2ed7421251416b67c /meta/recipes-core/expat
parent84bcd1fd580b43919c4b517ea3f004ebe350e5ea (diff)
downloadpoky-a046b8555cf1e935c2834ce653d3eb9588b55dc9.tar.gz
expat: merge bb and inc
(From OE-Core rev: 0bc7c11060d82d5658c79e5ff048c5ef141d0b43) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/expat')
-rw-r--r--meta/recipes-core/expat/expat.inc25
-rw-r--r--meta/recipes-core/expat/expat_2.2.5.bb28
2 files changed, 27 insertions, 26 deletions
diff --git a/meta/recipes-core/expat/expat.inc b/meta/recipes-core/expat/expat.inc
deleted file mode 100644
index 0ee6c276d9..0000000000
--- a/meta/recipes-core/expat/expat.inc
+++ /dev/null
@@ -1,25 +0,0 @@
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.bz2 \
8 file://autotools.patch \
9 file://libtool-tag.patch \
10 "
11
12SRC_URI_append_class-native = " file://no_getrandom.patch"
13
14inherit autotools lib_package
15
16# This package uses an archive format known to have issue with some
17# versions of gzip
18DEPENDS += "pigz-native"
19do_unpack[depends] += "pigz-native:do_populate_sysroot"
20
21do_configure_prepend () {
22 rm -f ${S}/conftools/libtool.m4
23}
24
25BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-core/expat/expat_2.2.5.bb b/meta/recipes-core/expat/expat_2.2.5.bb
index 337287b93b..f7a5b36ac7 100644
--- a/meta/recipes-core/expat/expat_2.2.5.bb
+++ b/meta/recipes-core/expat/expat_2.2.5.bb
@@ -1,4 +1,30 @@
1require expat.inc 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
2LIC_FILES_CHKSUM = "file://COPYING;md5=5b8620d98e49772d95fc1d291c26aa79" 7LIC_FILES_CHKSUM = "file://COPYING;md5=5b8620d98e49772d95fc1d291c26aa79"
8
9SRC_URI = "${SOURCEFORGE_MIRROR}/expat/expat-${PV}.tar.bz2 \
10 file://autotools.patch \
11 file://libtool-tag.patch \
12 "
13
14SRC_URI_append_class-native = " file://no_getrandom.patch"
15
3SRC_URI[md5sum] = "789e297f547980fc9ecc036f9a070d49" 16SRC_URI[md5sum] = "789e297f547980fc9ecc036f9a070d49"
4SRC_URI[sha256sum] = "d9dc32efba7e74f788fcc4f212a43216fc37cf5f23f4c2339664d473353aedf6" 17SRC_URI[sha256sum] = "d9dc32efba7e74f788fcc4f212a43216fc37cf5f23f4c2339664d473353aedf6"
18
19inherit autotools lib_package
20
21# This package uses an archive format known to have issue with some
22# versions of gzip
23DEPENDS += "pigz-native"
24do_unpack[depends] += "pigz-native:do_populate_sysroot"
25
26do_configure_prepend () {
27 rm -f ${S}/conftools/libtool.m4
28}
29
30BBCLASSEXTEND = "native nativesdk"