xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-test/catch2/catch2_2.13.7.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunDESCRIPTION = "A modern, C++-native, header-only, test framework for unit-tests, \
2*4882a593SmuzhiyunTDD and BDD - using C++11, C++14, C++17 and later."
3*4882a593SmuzhiyunAUTHOR = "Phil Nash, Martin Horenovsky and others"
4*4882a593SmuzhiyunHOMEPAGE = "https://github.com/catchorg/Catch2"
5*4882a593SmuzhiyunLICENSE = "BSL-1.0"
6*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e4224ccaecb14d942c71d31bef20d78c"
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunSRC_URI = "git://github.com/catchorg/Catch2.git;branch=v2.x;protocol=https"
9*4882a593SmuzhiyunSRCREV = "c4e3767e265808590986d5db6ca1b5532a7f3d13"
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunS = "${WORKDIR}/git"
12*4882a593Smuzhiyun
13*4882a593Smuzhiyuninherit cmake python3native
14*4882a593Smuzhiyun
15*4882a593Smuzhiyundo_install:append() {
16*4882a593Smuzhiyun    rm ${D}${datadir}/Catch2/lldbinit
17*4882a593Smuzhiyun    rm ${D}${datadir}/Catch2/gdbinit
18*4882a593Smuzhiyun    rmdir ${D}${datadir}/Catch2/
19*4882a593Smuzhiyun}
20*4882a593Smuzhiyun# Header-only library
21*4882a593SmuzhiyunRDEPENDS:${PN}-dev = ""
22*4882a593SmuzhiyunRRECOMMENDS:${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"
23