blob: 0e402d8474a3813bd196e636c4c92280dd988416 [file] [log] [blame]
Ed Tanous3b1d2b42024-07-15 15:07:26 -07001LICENSE = "Apache-2.0"
2LIC_FILES_CHKSUM = "file://LICENSE;md5=a832eda17114b48ae16cda6a500941c2"
3
4DEPENDS = " \
5 json-c \
6 ${@bb.utils.contains('PTEST_ENABLED', '1', 'gtest', '', d)} \
7 ${@bb.utils.contains('PTEST_ENABLED', '1', 'gmock', '', d)} \
8 "
9
10PV = "1.0+git${SRCPV}"
Andrew Geissler112ca032024-08-14 12:50:54 -050011SRCREV = "5220c9bdacd3dac0c4ad6ee39241849262589197"
Ed Tanous3b1d2b42024-07-15 15:07:26 -070012
13SRC_URI = "git://git@github.com/openbmc/libcper.git;protocol=ssh;branch=main"
14
15S = "${WORKDIR}/git"
16
17inherit pkgconfig meson ptest
18
19EXTRA_OEMESON = " \
20 -Dtests=${@bb.utils.contains('PTEST_ENABLED', '1', 'enabled', 'disabled', d)} \
21"
22