Added protobuf-c criu dependency

Signed-off-by: David Nyström <david.nystrom@enea.com>
Reviewed-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
David Nyström 2012-12-06 10:54:55 +01:00
parent 3e273b5815
commit 0d31f84484
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,19 @@
diff -Naur protobuf-c-0.15.old/src/Makefile.am protobuf-c-0.15/src/Makefile.am
--- protobuf-c-0.15.old/src/Makefile.am 2012-11-28 14:59:57.845251943 +0100
+++ protobuf-c-0.15/src/Makefile.am 2012-11-28 15:00:23.549252632 +0100
@@ -1,5 +1,5 @@
if BUILD_PROTOC_C
-SUBDIRS = . test
+
bin_PROGRAMS = protoc-c
protoc_c_SOURCES = \
google/protobuf/compiler/c/c_service.cc \
@@ -23,7 +23,7 @@
lib_LTLIBRARIES = libprotobuf-c.la
protobufcincludedir = $(includedir)/google/protobuf-c
-EXTRA_DIST = CMakeLists.txt test/CMakeLists.txt
+EXTRA_DIST = CMakeLists.txt
libprotobuf_c_la_SOURCES = \
google/protobuf-c/protobuf-c-dispatch.c \

View File

@ -0,0 +1,20 @@
SUMMARY = "protobuf-c"
DESCRIPTION = "This package provides a code generator and runtime libraries to use Protocol Buffers from pure C"
HOMEPAGE = "http://code.google.com/p/protobuf-c/"
SECTION = "console/tools"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://src/google/protobuf-c/protobuf-c.c;endline=33;md5=333140fae7cf8a38dc5f980ddb63704b"
PR = "r0"
DEPENDS = "protobuf"
SRC_URI[md5sum] = "73ff0c8df50d2eee75269ad8f8c07dc8"
SRC_URI[sha256sum] = "8fcb538e13a5431c46168fc8f2e6ad2574e2db9b684c0c72b066e24f010a0036"
SRC_URI = "http://protobuf-c.googlecode.com/files/protobuf-c-${PV}.tar.gz \
file://disable_tests.patch"
inherit autotools
BBCLASSEXTEND = "native nativesdk"