blob: 1dd082fa8e3189668b52ee4e05bef6a9220de508 [file] [log] [blame]
Brad Bishopc342db32019-05-15 21:57:59 -04001DESCRIPTION = "A modern, C++-native, header-only, test framework for unit-tests, \
2TDD and BDD - using C++11, C++14, C++17 and later."
Brad Bishopc342db32019-05-15 21:57:59 -04003HOMEPAGE = "https://github.com/catchorg/Catch2"
4LICENSE = "BSL-1.0"
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e4224ccaecb14d942c71d31bef20d78c"
6
Andrew Geissler595f6302022-01-24 19:11:47 +00007SRC_URI = "git://github.com/catchorg/Catch2.git;branch=v2.x;protocol=https"
Andrew Geisslerd159c7f2021-09-02 21:05:58 -05008SRCREV = "c4e3767e265808590986d5db6ca1b5532a7f3d13"
Brad Bishopc342db32019-05-15 21:57:59 -04009
10S = "${WORKDIR}/git"
11
12inherit cmake python3native
13
Patrick Williams213cb262021-08-07 19:21:33 -050014do_install:append() {
Brad Bishopc342db32019-05-15 21:57:59 -040015 rm ${D}${datadir}/Catch2/lldbinit
16 rm ${D}${datadir}/Catch2/gdbinit
17 rmdir ${D}${datadir}/Catch2/
18}
19# Header-only library
Patrick Williams213cb262021-08-07 19:21:33 -050020RDEPENDS:${PN}-dev = ""
21RRECOMMENDS:${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"