summaryrefslogtreecommitdiffstats
path: root/meta-security/recipes-security/cynagora/cynagora-cynara-compat_2.1.bb
blob: f146051cd9826a80c858fb192d0065d633d58b91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
DESCRIPTION = "Cynara service with client libraries"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://Apache-2.0;md5=3b83ef96387f14655fc854ddc3c6bd57"

SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/cynagora;protocol=https;branch=${AGL_BRANCH}"
SRCREV = "7d7907651c42c5c32deabc17b639e0e1765eae60"
PV = "2.1+git${SRCPV}"

S = "${WORKDIR}/git"

inherit cmake

PROVIDES = "cynara"
RPROVIDES_${PN} = "cynara"
DEPENDS = "libcap"
RDEPENDS_${PN} = "cynagora"

EXTRA_OECMAKE += " \
	-DWITH_SYSTEMD=OFF \
	-DWITH_CYNARA_COMPAT=ON \
	-DDIRECT_CYNARA_COMPAT=ON \
"

do_install_append() {
	# remove cynagora stuff
	rm $(find ${D} -name '*cynagora*')
	# remove stupid test
	rm -r ${D}${bindir}
}