diff options
Diffstat (limited to 'meta-google')
-rw-r--r-- | meta-google/recipes-google/nanopb/nanopb_0.4.5.bb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-google/recipes-google/nanopb/nanopb_0.4.5.bb b/meta-google/recipes-google/nanopb/nanopb_0.4.5.bb new file mode 100644 index 000000000..232872e75 --- /dev/null +++ b/meta-google/recipes-google/nanopb/nanopb_0.4.5.bb @@ -0,0 +1,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" |