diff options
| -rw-r--r-- | recipes-containers/criu/protobuf_2.5.0.bb | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/recipes-containers/criu/protobuf_2.5.0.bb b/recipes-containers/criu/protobuf_2.5.0.bb index 4a90b2c6..a9a26d88 100644 --- a/recipes-containers/criu/protobuf_2.5.0.bb +++ b/recipes-containers/criu/protobuf_2.5.0.bb | |||
| @@ -13,8 +13,22 @@ PR = "r0" | |||
| 13 | SRC_URI[md5sum] = "b751f772bdeb2812a2a8e7202bf1dae8" | 13 | SRC_URI[md5sum] = "b751f772bdeb2812a2a8e7202bf1dae8" |
| 14 | SRC_URI[sha256sum] = "c55aa3dc538e6fd5eaf732f4eb6b98bdcb7cedb5b91d3b5bdcf29c98c293f58e" | 14 | SRC_URI[sha256sum] = "c55aa3dc538e6fd5eaf732f4eb6b98bdcb7cedb5b91d3b5bdcf29c98c293f58e" |
| 15 | SRC_URI = "http://protobuf.googlecode.com/files/protobuf-${PV}.tar.gz" | 15 | SRC_URI = "http://protobuf.googlecode.com/files/protobuf-${PV}.tar.gz" |
| 16 | PYTHON_SRC_DIR="python" | ||
| 16 | 17 | ||
| 17 | EXTRA_OECONF += " --with-protoc=echo" | 18 | EXTRA_OECONF += " --with-protoc=echo" |
| 18 | inherit autotools | 19 | inherit autotools setuptools |
| 20 | |||
| 21 | do_compile() { | ||
| 22 | # Compile protoc compiler | ||
| 23 | base_do_compile | ||
| 24 | } | ||
| 25 | |||
| 26 | do_install() { | ||
| 27 | # Install protoc compiler | ||
| 28 | autotools_do_install | ||
| 29 | # Install header files | ||
| 30 | cd "${PYTHON_SRC_DIR}" | ||
| 31 | distutils_do_install | ||
| 32 | } | ||
| 19 | 33 | ||
| 20 | BBCLASSEXTEND = "native nativesdk" | 34 | BBCLASSEXTEND = "native nativesdk" |
