1SUMMARY = "Check - unit testing framework for C code" 2DESCRIPTION = "It features a simple interface for defining unit tests, \ 3putting little in the way of the developer. Tests are run in a separate \ 4address space, so both assertion failures and code errors that cause \ 5segmentation faults or other signals can be caught. Test results are \ 6reportable in the following: Subunit, TAP, XML, and a generic logging format." 7HOMEPAGE = "https://libcheck.github.io/check/" 8SECTION = "devel" 9 10LICENSE = "LGPL-2.1-or-later" 11LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=2d5025d4aa3495befef8f17206a5b0a1" 12 13SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/check-${PV}.tar.gz \ 14 file://automake-output.patch \ 15 file://not-echo-compiler-info-to-check_stdint.h.patch" 16SRC_URI[sha256sum] = "a8de4e0bacfb4d76dd1c618ded263523b53b85d92a146d8835eb1a52932fa20a" 17GITHUB_BASE_URI = "https://github.com/libcheck/check/releases/" 18 19S = "${WORKDIR}/check-${PV}" 20 21inherit autotools pkgconfig texinfo github-releases 22 23CACHED_CONFIGUREVARS += "ac_cv_path_AWK_PATH=${bindir}/gawk" 24 25RREPLACES:${PN} = "check (<= 0.9.5)" 26 27do_install:append:class-native() { 28 create_cmdline_shebang_wrapper ${D}${bindir}/checkmk 29} 30BBCLASSEXTEND = "native nativesdk" 31 32PACKAGES =+ "checkmk" 33 34FILES:checkmk = "${bindir}/checkmk" 35 36RDEPENDS:checkmk = "gawk" 37