diff options
Diffstat (limited to 'meta-oe/recipes-support/libmxml/libmxml_4.0.4.bb')
-rw-r--r-- | meta-oe/recipes-support/libmxml/libmxml_4.0.4.bb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libmxml/libmxml_4.0.4.bb b/meta-oe/recipes-support/libmxml/libmxml_4.0.4.bb new file mode 100644 index 0000000000..d692774f08 --- /dev/null +++ b/meta-oe/recipes-support/libmxml/libmxml_4.0.4.bb | |||
@@ -0,0 +1,30 @@ | |||
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;branch=master;protocol=https" | ||
8 | SRCREV = "0d5afc4278d7a336d554602b951c2979c3f8f296" | ||
9 | |||
10 | # Package does not support out of tree builds. | ||
11 | inherit autotools-brokensep | ||
12 | |||
13 | PACKAGECONFIG ??= "threads" | ||
14 | PACKAGECONFIG[threads] = "--enable-threads,--disable-threads" | ||
15 | |||
16 | # MXML uses autotools but it explicitly states it does not support autoheader. | ||
17 | EXTRA_AUTORECONF = "--exclude=autopoint,autoheader" | ||
18 | |||
19 | do_configure:prepend() { | ||
20 | # Respect optimization CFLAGS specified by OE. | ||
21 | sed -e 's/-Os -g//' -i ${S}/configure.ac | ||
22 | |||
23 | # Enable verbose compilation output. This is required for extra QA checks to work. | ||
24 | sed -e '/.SILENT:/d' -i ${S}/Makefile.in | ||
25 | } | ||
26 | |||
27 | do_install() { | ||
28 | # Package uses DSTROOT instread of standard DESTDIR to specify install location. | ||
29 | oe_runmake install DSTROOT=${D} | ||
30 | } | ||