Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame^] | 1 | SUMMARY = "Protocol Buffers - structured data serialisation mechanism" |
| 2 | DESCRIPTION = "This is protobuf-c, a C implementation of the Google Protocol Buffers data \ |
| 3 | serialization format. It includes libprotobuf-c, a pure C library that \ |
| 4 | implements protobuf encoding and decoding, and protoc-c, a code generator that \ |
| 5 | converts Protocol Buffer .proto files to C descriptor code, based on the \ |
| 6 | original protoc. protobuf-c formerly included an RPC implementation; that code \ |
| 7 | has been split out into the protobuf-c-rpc project." |
| 8 | HOMEPAGE = "https://github.com/protobuf-c/protobuf-c" |
| 9 | SECTION = "console/tools" |
| 10 | LICENSE = "BSD-2-Clause" |
| 11 | |
| 12 | DEPENDS = "protobuf-native protobuf" |
| 13 | |
| 14 | PACKAGE_BEFORE_PN = "${PN}-compiler" |
| 15 | RDEPENDS_${PN}-compiler = "protobuf-compiler" |
| 16 | RDEPENDS_${PN}-dev += "${PN}-compiler" |
| 17 | |
| 18 | LIC_FILES_CHKSUM = "file://LICENSE;md5=235c3195a3968524dc1524b4ebea0c0e" |
| 19 | SRC_URI = "https://github.com/protobuf-c/protobuf-c/archive/v${PV}.tar.gz" |
| 20 | |
| 21 | SRC_URI[md5sum] = "b884aeba4283309445a8e3b6e7322dd6" |
| 22 | SRC_URI[sha256sum] = "2d708fb3c024b9e6e86df141faff802194f5db90a4b79e6d4aa6bd61dd983dd6" |
| 23 | |
| 24 | inherit autotools pkgconfig |
| 25 | |
| 26 | FILES_${PN}-compiler = "${bindir}" |
| 27 | |
| 28 | BBCLASSEXTEND = "native nativesdk" |