diff options
Diffstat (limited to 'recipes-sota')
-rw-r--r-- | recipes-sota/sota-client-cpp/sota-client-cpp_git.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes-sota/sota-client-cpp/sota-client-cpp_git.bb b/recipes-sota/sota-client-cpp/sota-client-cpp_git.bb new file mode 100644 index 0000000..b3c841c --- /dev/null +++ b/recipes-sota/sota-client-cpp/sota-client-cpp_git.bb | |||
@@ -0,0 +1,29 @@ | |||
1 | SUMMARY = "SOTA Client" | ||
2 | DESCRIPTION = "SOTA Client application written in C++" | ||
3 | HOMEPAGE = "https://github.com/advancedtelematic/sota_client_cpp" | ||
4 | SECTION = "base" | ||
5 | |||
6 | LICENSE = "MPL-2.0" | ||
7 | LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=9741c346eef56131163e13b9db1241b3" | ||
8 | |||
9 | inherit cmake systemd | ||
10 | |||
11 | S = "${WORKDIR}/git" | ||
12 | |||
13 | SRCREV = "7194ec4aa39f71157af66751098340c854537817" | ||
14 | |||
15 | SRC_URI = " \ | ||
16 | git://github.com/advancedtelematic/sota_client_cpp \ | ||
17 | " | ||
18 | |||
19 | DEPENDS = "boost curl openssl" | ||
20 | RDEPENDS = "" | ||
21 | |||
22 | do_install() { | ||
23 | install -d ${D}${bindir} | ||
24 | install -m 0755 ${WORKDIR}/build/target/sota_client ${D}${bindir}/sota_client_cpp | ||
25 | } | ||
26 | |||
27 | FILES_${PN} = " \ | ||
28 | ${bindir}/sota_client_cpp \ | ||
29 | " | ||