summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libtinyxml2/libtinyxml2_11.0.0.bb
diff options
context:
space:
mode:
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.bb30
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 @@
1SUMMARY = "TinyXML-2 is a simple, small, efficient, C++ XML parser that can be easily integrating into other programs"
2HOMEPAGE = "https://leethomason.github.io/tinyxml2"
3SECTION = "libs"
4LICENSE = "Zlib"
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=135624eef03e1f1101b9ba9ac9b5fffd"
6CVE_PRODUCT = "tinyxml2"
7
8SRCREV = "9148bdf719e997d1f474be6bcc7943881046dba1"
9SRC_URI = "git://github.com/leethomason/tinyxml2.git;branch=master;protocol=https \
10 file://run-ptest"
11
12
13inherit meson ptest
14
15EXTRA_OEMESON += " \
16 ${@bb.utils.contains('PTEST_ENABLED', '1', '-Dtests=true', '', d)} \
17 -Ddefault_library=both \
18"
19
20CXXFLAGS:append:libc-musl = " -D_LARGEFILE64_SOURCE"
21
22do_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
30BBCLASSEXTEND = "native nativesdk"