summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/grpc/grpc_1.6.6.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-devtools/grpc/grpc_1.6.6.bb')
-rw-r--r--meta-oe/recipes-devtools/grpc/grpc_1.6.6.bb38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/grpc/grpc_1.6.6.bb b/meta-oe/recipes-devtools/grpc/grpc_1.6.6.bb
new file mode 100644
index 0000000000..6fde33d85a
--- /dev/null
+++ b/meta-oe/recipes-devtools/grpc/grpc_1.6.6.bb
@@ -0,0 +1,38 @@
1DESCRIPTION = "A high performance, open source, general-purpose RPC framework. \
2Provides gRPC libraries for multiple languages written on top of shared C core library \
3(C++, Node.js, Python, Ruby, Objective-C, PHP, C#)"
4HOMEPAGE = "https://github.com/grpc/grpc"
5SECTION = "libs"
6LICENSE = "Apache-2"
7
8DEPENDS = "gflags c-ares protobuf protobuf-native protobuf-c protobuf-c-native openssl"
9DEPENDS_append_class-target = " gtest grpc-native "
10
11LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
12
13SRC_URI = "https://github.com/grpc/grpc/archive/v1.6.6.tar.gz"
14SRC_URI[md5sum] = "a960878ad0231189d48ac8ff17eeca3c"
15SRC_URI[sha256sum] = "b97eaa0c8a63b0492dc94bdad621795b4815278e841f06b0c78d6bcbd4c8bdec"
16
17SRC_URI += " \
18 file://0001-use-the-right-protoc-executable-regardless-of-protob.patch \
19 file://0001-CMakeLists.txt-Fix-libraries-installation-for-Linux.patch \
20"
21
22SRC_URI_append_class-target = " file://0001-CMakeLists.txt-Fix-grpc_cpp_plugin-path-during-cross.patch"
23
24inherit cmake
25
26EXTRA_OECMAKE = " \
27 -DgRPC_CARES_PROVIDER=package \
28 -DgRPC_ZLIB_PROVIDER=package \
29 -DgRPC_SSL_PROVIDER=package \
30 -DgRPC_PROTOBUF_PROVIDER=package \
31 -DgRPC_GFLAGS_PROVIDER=package \
32 -DgRPC_INSTALL=1 \
33 -DBUILD_SHARED_LIBS=ON \
34 "
35
36FILES_${PN}-dev += "${libdir}/cmake"
37
38BBCLASSEXTEND = "native"