summaryrefslogtreecommitdiff
path: root/meta-google/recipes-google/nanopb/nanopb_0.4.5.bb
blob: 1737cddb074ad3fdb32236c643802c8c0d1acfe5 (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
SUMMARY = "Nanopb library"
DESCRIPTION = "Nanopb - Protocol Buffers for Embedded Systems"
HOMEPAGE = "https://github.com/nanopb/nanopb"
PR = "r1"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9db4b73a55a3994384112efcdb37c01f"

inherit cmake python3native

SRC_URI = "git://github.com/nanopb/nanopb"
SRCREV = "f7e4140a27d9e63517b5d596bc117bd6d5248888"
S = "${WORKDIR}/git"

DEPENDS = "protobuf-native python3-protobuf"

RDEPENDS:${PN}-generator += "python3 python3-protobuf"

PACKAGES:prepend = "${PN}-generator ${PN}-runtime "

FILES:${PN}-generator = "${libdir}/python* ${bindir}"

FILES:${PN}-runtime = "${libdir}/*.so.*"

BBCLASSEXTEND = "native"