Skip to contentSkip to conversation

protobuf: add protobuf-c recipe

PATCH In review Felipe F. Tonello 2 participants 2 messages Apr 4, 2016 – Apr 9, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 protobuf: add protobuf-c recipe

Initial version of recipe. The main package could be split into two to separate the compiler. This also applies to protobuf recipe.

---
 .../recipes-devtools/protobuf/protobuf-c_1.2.1.bb  | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb
meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb new file +22 -0
new file mode 100644
index 000000000000..6d1c8c414b19
@@ -0,0 +1,22 @@
+SUMMARY = "Protocol Buffers - structured data serialisation mechanism"
+DESCRIPTION = "This is protobuf-c, a C implementation of the Google Protocol Buffers data \
+serialization format. It includes libprotobuf-c, a pure C library that \
+implements protobuf encoding and decoding, and protoc-c, a code generator that \
+converts Protocol Buffer .proto files to C descriptor code, based on the \
+original protoc. protobuf-c formerly included an RPC implementation; that code \
+has been split out into the protobuf-c-rpc project."
+HOMEPAGE = "https://github.com/protobuf-c/protobuf-c"
+SECTION = "console/tools"
+LICENSE = "BSD-2-Clause"
+
+DEPENDS = "protobuf-native protobuf"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=235c3195a3968524dc1524b4ebea0c0e"
+SRC_URI = "https://github.com/protobuf-c/protobuf-c/archive/v${PV}.tar.gz"
+
+SRC_URI[md5sum] = "b884aeba4283309445a8e3b6e7322dd6"
+SRC_URI[sha256sum] = "2d708fb3c024b9e6e86df141faff802194f5db90a4b79e6d4aa6bd61dd983dd6"
+
+inherit autotools pkgconfig
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.8.0
#1 lore raw
Quoted 4 lines · Felipe F. Tonello

Initial version of recipe. The main package could be split into two to separate the compiler. This also applies to protobuf recipe.

So split it; it makes sense to include it splitted.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750