aboutsummaryrefslogtreecommitdiffstats
path: root/meta-ivi-test/recipes-extended/common-api/capicxx-perf_git.bb
blob: 22636478dfdec32821e8961db5f9e78cec698e22 (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
31
32
33
34
SUMMARY = "Common API C++ test code: measure the performance of message sending"
SECTION = "tests"
LICENSE = "MPL-2.0"
LIC_FILES_CHKSUM = \
    "file://${COMMON_LICENSE_DIR}/MPL-2.0;md5=815ca599c9df247a0c7f619bab123dad"
PR = "r0"

SRCREV = "2eacc9d7fb76957e9a5450a559675fddf0a95ce2"
SRC_URI = "git://github.com/GENIVI/capic-poc.git"
S = "${WORKDIR}/git/test/capicxx-perf"

DEPENDS = "common-api-c++ common-api-c++-dbus capicxx-core-native capicxx-dbus-native"

inherit cmake pkgconfig

EXTRA_OECMAKE += "-DCMAKE_INSTALL_PREFIX=/usr"

_installdir = "/opt/tests/${PN}"

FILES_${PN} = " \
    ${_installdir}/* \
    "

FILES_${PN}-dbg += " \
    ${_installdir}/.debug/* \
    "

do_install_append() {
    _DEST=${D}${_installdir}
    install -d ${_DEST}
    mv ${D}/usr/bin/* ${_DEST}
    rmdir ${D}/usr/bin
    rmdir ${D}/usr
}