meta-openembedded/meta-oe/recipes-support/cli11/cli11_2.6.1.bb
Ankur Tyagi 36aaf7f343
cli11: upgrade 2.6.0 -> 2.6.1
Release Notes:
https://github.com/CLIUtils/CLI11/releases/tag/v2.6.1

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-19 09:41:30 -08:00

32 lines
1.1 KiB
BlitzBasic

DESCRIPTION = "A command line parser for C++11 and beyond that provides a rich feature set with a simple and intuitive interface."
HOMEPAGE = "https://github.com/CLIUtils/CLI11"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=27559a6fd853c4b46ec4dea16597460c"
DEPENDS = "catch2"
SRC_URI = "gitsm://github.com/CLIUtils/CLI11;branch=main;protocol=https;tag=v${PV} \
file://remove_tmpdir_from_test_binary.patch \
file://run-ptest"
SRCREV = "bfffd37e1f804ca4fae1caae106935791696b6a9"
inherit cmake ptest
# cli11 is a header only C++ library, so the main package will be empty.
RDEPENDS:${PN}-dev = ""
RDEPENDS:${PN}-ptest = ""
do_install_ptest(){
# double tests is not a typo. The inner empty tests folder is
# used by one the tests.
install -d ${D}${PTEST_PATH}/tests/tests
for t in `ls ${B}/tests/*Test`; do
install $t ${D}${PTEST_PATH}/tests/
done
install ${B}/tests/ensure_utf8 ${D}${PTEST_PATH}/tests/
install ${B}/tests/ensure_utf8_twice ${D}${PTEST_PATH}/tests/
install ${B}/tests/link_test_2 ${D}${PTEST_PATH}/tests/
}
BBCLASSEXTEND = "native nativesdk"