xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-devtools/protobuf/protobuf-c_1.4.1.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "Protocol Buffers - structured data serialisation mechanism"
2*4882a593SmuzhiyunDESCRIPTION = "This is protobuf-c, a C implementation of the Google Protocol Buffers data \
3*4882a593Smuzhiyunserialization format. It includes libprotobuf-c, a pure C library that \
4*4882a593Smuzhiyunimplements protobuf encoding and decoding, and protoc-c, a code generator that \
5*4882a593Smuzhiyunconverts Protocol Buffer .proto files to C descriptor code, based on the \
6*4882a593Smuzhiyunoriginal protoc. protobuf-c formerly included an RPC implementation; that code \
7*4882a593Smuzhiyunhas been split out into the protobuf-c-rpc project."
8*4882a593SmuzhiyunHOMEPAGE = "https://github.com/protobuf-c/protobuf-c"
9*4882a593SmuzhiyunSECTION = "console/tools"
10*4882a593SmuzhiyunLICENSE = "BSD-2-Clause"
11*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://LICENSE;md5=9f725889e0d77383e26cb42b0b62cea2"
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunDEPENDS = "protobuf-native protobuf"
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunSRC_URI = "git://github.com/protobuf-c/protobuf-c.git;branch=master;protocol=https"
16*4882a593SmuzhiyunSRCREV = "abc67a11c6db271bedbb9f58be85d6f4e2ea8389"
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunS = "${WORKDIR}/git"
19*4882a593Smuzhiyun
20*4882a593Smuzhiyuninherit autotools pkgconfig
21*4882a593Smuzhiyun
22*4882a593Smuzhiyunexport PROTOC = "${STAGING_BINDIR_NATIVE}/protoc"
23*4882a593Smuzhiyun
24*4882a593Smuzhiyun# After several fix attempts there is still a race between generating
25*4882a593Smuzhiyun# t.test-full.pb.h and compiling cxx_generate_packed_data.c despite
26*4882a593Smuzhiyun# BUILT_SOURCES and explicit dependencies.
27*4882a593SmuzhiyunPARALLEL_MAKE = ""
28*4882a593Smuzhiyun
29*4882a593SmuzhiyunPACKAGE_BEFORE_PN = "${PN}-compiler"
30*4882a593Smuzhiyun
31*4882a593SmuzhiyunFILES:${PN}-compiler = "${bindir}"
32*4882a593Smuzhiyun
33*4882a593SmuzhiyunRDEPENDS:${PN}-compiler = "protobuf-compiler"
34*4882a593SmuzhiyunRDEPENDS:${PN}-dev += "${PN}-compiler"
35*4882a593Smuzhiyun
36*4882a593SmuzhiyunBBCLASSEXTEND = "native nativesdk"
37