diff options
| author | Andreas Müller <schnitzeltony@gmail.com> | 2021-05-22 03:35:19 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-05-22 05:55:02 -0700 |
| commit | f5dfbdd59e173ac23cd8ef95d8f646ac179ff911 (patch) | |
| tree | 25f5cdc3e9ae6e3ec4c50b073381037a3e497185 /meta-oe/recipes-support/libmxml/libmxml_3.2.bb | |
| parent | 758ea6ed7fa84df8164ffbbc2d101302463f2355 (diff) | |
| download | meta-openembedded-f5dfbdd59e173ac23cd8ef95d8f646ac179ff911.tar.gz | |
libmxml: upgrade 3.1 -> 3.2
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/libmxml/libmxml_3.2.bb')
| -rw-r--r-- | meta-oe/recipes-support/libmxml/libmxml_3.2.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libmxml/libmxml_3.2.bb b/meta-oe/recipes-support/libmxml/libmxml_3.2.bb new file mode 100644 index 0000000000..c0ed72d991 --- /dev/null +++ b/meta-oe/recipes-support/libmxml/libmxml_3.2.bb | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | DESCRIPTION = "Tiny XML Library" | ||
| 2 | LICENSE = "Apache-2.0" | ||
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" | ||
| 4 | HOMEPAGE = "https://www.msweet.org/mxml/" | ||
| 5 | BUGTRACKER = "https://github.com/michaelrsweet/mxml/issues" | ||
| 6 | |||
| 7 | SRC_URI = "git://github.com/michaelrsweet/mxml.git;nobranch=1" | ||
| 8 | SRCREV = "38b044ed8ca2a611ed9ed3e26c4b46416335194e" | ||
| 9 | S = "${WORKDIR}/git" | ||
| 10 | |||
| 11 | inherit autotools | ||
| 12 | |||
| 13 | PACKAGECONFIG ??= "threads" | ||
| 14 | PACKAGECONFIG[threads] = "--enable-threads,--disable-threads" | ||
| 15 | |||
| 16 | # Package does not support out of tree builds. | ||
| 17 | B = "${S}" | ||
| 18 | |||
| 19 | # MXML uses autotools but it explicitly states it does not support autoheader. | ||
| 20 | EXTRA_AUTORECONF = "--exclude=autopoint,autoheader" | ||
| 21 | |||
| 22 | do_configure_prepend() { | ||
| 23 | # Respect optimization CFLAGS specified by OE. | ||
| 24 | sed -e 's/-Os -g//' -i ${S}/configure.ac | ||
| 25 | |||
| 26 | # Enable verbose compilation output. This is required for extra QA checks to work. | ||
| 27 | sed -e '/.SILENT:/d' -i ${S}/Makefile.in | ||
| 28 | } | ||
| 29 | |||
| 30 | do_install() { | ||
| 31 | # Package uses DSTROOT instread of standard DESTDIR to specify install location. | ||
| 32 | oe_runmake install DSTROOT=${D} | ||
| 33 | } | ||
