diff options
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.bb | 31 |
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 @@ | |||
| 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 = "57eea48c5bfc354ac45d53b2eb499e66c80d63e0" | ||
| 9 | SRC_URI = "git://github.com/leethomason/tinyxml2.git;branch=master;protocol=https \ | ||
| 10 | file://run-ptest" | ||
| 11 | |||
| 12 | S = "${WORKDIR}/git" | ||
| 13 | |||
| 14 | inherit meson ptest | ||
| 15 | |||
| 16 | EXTRA_OEMESON += " \ | ||
| 17 | ${@bb.utils.contains('PTEST_ENABLED', '1', '-Dtests=true', '', d)} \ | ||
| 18 | -Ddefault_library=both \ | ||
| 19 | " | ||
| 20 | |||
| 21 | CXXFLAGS:append:libc-musl = " -D_LARGEFILE64_SOURCE" | ||
| 22 | |||
| 23 | do_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 | |||
| 31 | BBCLASSEXTEND = "native nativesdk" | ||
