summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libtinyxml2/libtinyxml2_10.1.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/libtinyxml2/libtinyxml2_10.1.0.bb')
-rw-r--r--meta-oe/recipes-support/libtinyxml2/libtinyxml2_10.1.0.bb31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libtinyxml2/libtinyxml2_10.1.0.bb b/meta-oe/recipes-support/libtinyxml2/libtinyxml2_10.1.0.bb
new file mode 100644
index 0000000000..6bea792a78
--- /dev/null
+++ b/meta-oe/recipes-support/libtinyxml2/libtinyxml2_10.1.0.bb
@@ -0,0 +1,31 @@
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 = "57eea48c5bfc354ac45d53b2eb499e66c80d63e0"
9SRC_URI = "git://github.com/leethomason/tinyxml2.git;branch=master;protocol=https \
10 file://run-ptest"
11
12S = "${WORKDIR}/git"
13
14inherit meson ptest
15
16EXTRA_OEMESON += " \
17 ${@bb.utils.contains('PTEST_ENABLED', '1', '-Dtests=true', '', d)} \
18 -Ddefault_library=both \
19"
20
21CXXFLAGS:append:libc-musl = " -D_LARGEFILE64_SOURCE"
22
23do_install_ptest() {
24 install -Dm 0755 ${B}/xmltest ${D}${PTEST_PATH}/xmltest
25 install -d ${D}${PTEST_PATH}/resources/out
26 for f in ${S}/resources/*.xml; do
27 install -m 0644 $f ${D}${PTEST_PATH}/resources/
28 done
29}
30
31BBCLASSEXTEND = "native nativesdk"