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