summaryrefslogtreecommitdiffstats
path: root/recipes-sota/sota-client-cpp/sota-client-cpp_git.bb
blob: b3c841cbdc3c8eca6d2d6c0776eb4b7c75b08628 (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
SUMMARY = "SOTA Client"
DESCRIPTION = "SOTA Client application written in C++"
HOMEPAGE = "https://github.com/advancedtelematic/sota_client_cpp"
SECTION = "base"

LICENSE = "MPL-2.0"
LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=9741c346eef56131163e13b9db1241b3"

inherit cmake systemd

S = "${WORKDIR}/git"

SRCREV = "7194ec4aa39f71157af66751098340c854537817"

SRC_URI = " \
	git://github.com/advancedtelematic/sota_client_cpp \
	"

DEPENDS = "boost curl openssl"
RDEPENDS = ""

do_install() {
  install -d ${D}${bindir}
  install -m 0755 ${WORKDIR}/build/target/sota_client ${D}${bindir}/sota_client_cpp
}

FILES_${PN} = " \
                ${bindir}/sota_client_cpp \
		"