Zhenfei Tai | cd9f5f0 | 2021-04-02 17:03:31 -0700 | [diff] [blame] | 1 | SUMMARY = "Nanopb library" |
| 2 | DESCRIPTION = "Nanopb - Protocol Buffers for Embedded Systems" |
| 3 | HOMEPAGE = "https://github.com/nanopb/nanopb" |
| 4 | PR = "r1" |
| 5 | LICENSE = "Apache-2.0" |
| 6 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9db4b73a55a3994384112efcdb37c01f" |
| 7 | |
| 8 | inherit cmake python3native |
| 9 | |
| 10 | SRC_URI = "git://github.com/nanopb/nanopb" |
| 11 | SRCREV = "f7e4140a27d9e63517b5d596bc117bd6d5248888" |
| 12 | S = "${WORKDIR}/git" |
| 13 | |
| 14 | DEPENDS = "protobuf-native python3-protobuf" |
| 15 | |
| 16 | RDEPENDS_${PN}-generator += "python3 python3-protobuf" |
| 17 | |
| 18 | PACKAGES_prepend = "${PN}-generator ${PN}-runtime " |
| 19 | |
| 20 | FILES_${PN}-generator = "${libdir}/python* ${bindir}" |
| 21 | |
| 22 | FILES_${PN}-runtime = "${libdir}/*.so.*" |
| 23 | |
| 24 | BBCLASSEXTEND = "native" |