diff options
Diffstat (limited to 'meta-oe/recipes-support/libtinyxml2/libtinyxml2_11.0.0.bb')
-rw-r--r-- | meta-oe/recipes-support/libtinyxml2/libtinyxml2_11.0.0.bb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libtinyxml2/libtinyxml2_11.0.0.bb b/meta-oe/recipes-support/libtinyxml2/libtinyxml2_11.0.0.bb new file mode 100644 index 0000000000..89e6eca99b --- /dev/null +++ b/meta-oe/recipes-support/libtinyxml2/libtinyxml2_11.0.0.bb | |||
@@ -0,0 +1,30 @@ | |||
1 | SUMMARY = "TinyXML-2 is a simple, small, efficient, C++ XML parser that can be easily integrating into other programs" | ||
2 | HOMEPAGE = "https://leethomason.github.io/tinyxml2" | ||
3 | SECTION = "libs" | ||
4 | LICENSE = "Zlib" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=135624eef03e1f1101b9ba9ac9b5fffd" | ||
6 | CVE_PRODUCT = "tinyxml2" | ||
7 | |||
8 | SRCREV = "9148bdf719e997d1f474be6bcc7943881046dba1" | ||
9 | SRC_URI = "git://github.com/leethomason/tinyxml2.git;branch=master;protocol=https \ | ||
10 | file://run-ptest" | ||
11 | |||
12 | |||
13 | inherit meson ptest | ||
14 | |||
15 | EXTRA_OEMESON += " \ | ||
16 | ${@bb.utils.contains('PTEST_ENABLED', '1', '-Dtests=true', '', d)} \ | ||
17 | -Ddefault_library=both \ | ||
18 | " | ||
19 | |||
20 | CXXFLAGS:append:libc-musl = " -D_LARGEFILE64_SOURCE" | ||
21 | |||
22 | do_install_ptest() { | ||
23 | install -Dm 0755 ${B}/xmltest ${D}${PTEST_PATH}/xmltest | ||
24 | install -d ${D}${PTEST_PATH}/resources/out | ||
25 | for f in ${S}/resources/*.xml; do | ||
26 | install -m 0644 $f ${D}${PTEST_PATH}/resources/ | ||
27 | done | ||
28 | } | ||
29 | |||
30 | BBCLASSEXTEND = "native nativesdk" | ||