diff options
author | David Nyström <david.nystrom@enea.com> | 2012-12-06 10:54:55 +0100 |
---|---|---|
committer | David Nyström <david.nystrom@enea.com> | 2012-12-07 15:32:30 +0100 |
commit | 0d31f844841249262fe142c4c03853dd1f647e2d (patch) | |
tree | 42b2f84a36a756587f642fa0aeb31086f1c7e5a6 | |
parent | 3e273b5815c15741da2bfc202430abea68571a26 (diff) | |
download | meta-virtualization-0d31f844841249262fe142c4c03853dd1f647e2d.tar.gz |
Added protobuf-c criu dependency
Signed-off-by: David Nyström <david.nystrom@enea.com>
Reviewed-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r-- | recipes-containers/criu/files/disable_tests.patch | 19 | ||||
-rw-r--r-- | recipes-containers/criu/protobuf-c_0.15.bb | 20 |
2 files changed, 39 insertions, 0 deletions
diff --git a/recipes-containers/criu/files/disable_tests.patch b/recipes-containers/criu/files/disable_tests.patch new file mode 100644 index 00000000..dac89421 --- /dev/null +++ b/recipes-containers/criu/files/disable_tests.patch | |||
@@ -0,0 +1,19 @@ | |||
1 | diff -Naur protobuf-c-0.15.old/src/Makefile.am protobuf-c-0.15/src/Makefile.am | ||
2 | --- protobuf-c-0.15.old/src/Makefile.am 2012-11-28 14:59:57.845251943 +0100 | ||
3 | +++ protobuf-c-0.15/src/Makefile.am 2012-11-28 15:00:23.549252632 +0100 | ||
4 | @@ -1,5 +1,5 @@ | ||
5 | if BUILD_PROTOC_C | ||
6 | -SUBDIRS = . test | ||
7 | + | ||
8 | bin_PROGRAMS = protoc-c | ||
9 | protoc_c_SOURCES = \ | ||
10 | google/protobuf/compiler/c/c_service.cc \ | ||
11 | @@ -23,7 +23,7 @@ | ||
12 | lib_LTLIBRARIES = libprotobuf-c.la | ||
13 | protobufcincludedir = $(includedir)/google/protobuf-c | ||
14 | |||
15 | -EXTRA_DIST = CMakeLists.txt test/CMakeLists.txt | ||
16 | +EXTRA_DIST = CMakeLists.txt | ||
17 | |||
18 | libprotobuf_c_la_SOURCES = \ | ||
19 | google/protobuf-c/protobuf-c-dispatch.c \ | ||
diff --git a/recipes-containers/criu/protobuf-c_0.15.bb b/recipes-containers/criu/protobuf-c_0.15.bb new file mode 100644 index 00000000..d9d4fd97 --- /dev/null +++ b/recipes-containers/criu/protobuf-c_0.15.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | SUMMARY = "protobuf-c" | ||
2 | DESCRIPTION = "This package provides a code generator and runtime libraries to use Protocol Buffers from pure C" | ||
3 | HOMEPAGE = "http://code.google.com/p/protobuf-c/" | ||
4 | SECTION = "console/tools" | ||
5 | LICENSE = "Apache-2.0" | ||
6 | |||
7 | LIC_FILES_CHKSUM = "file://src/google/protobuf-c/protobuf-c.c;endline=33;md5=333140fae7cf8a38dc5f980ddb63704b" | ||
8 | |||
9 | PR = "r0" | ||
10 | |||
11 | DEPENDS = "protobuf" | ||
12 | |||
13 | SRC_URI[md5sum] = "73ff0c8df50d2eee75269ad8f8c07dc8" | ||
14 | SRC_URI[sha256sum] = "8fcb538e13a5431c46168fc8f2e6ad2574e2db9b684c0c72b066e24f010a0036" | ||
15 | SRC_URI = "http://protobuf-c.googlecode.com/files/protobuf-c-${PV}.tar.gz \ | ||
16 | file://disable_tests.patch" | ||
17 | |||
18 | inherit autotools | ||
19 | |||
20 | BBCLASSEXTEND = "native nativesdk" \ No newline at end of file | ||