summaryrefslogtreecommitdiffstats
path: root/recipes-containers/criu/protobuf_2.5.0.bb
blob: 5cf6cc92b8fff368ca3531cc2d1d95c52ddb9e77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
SUMMARY = "protobuf"
DESCRIPTION = "Protocol Buffers are a way of encoding structured data in \
an efficient yet extensible format. Google uses Protocol Buffers for \
almost all of its internal RPC protocols and file formats."
HOMEPAGE = "http://code.google.com/p/protobuf/"
SECTION = "console/tools"
LICENSE = "BSD-3-Clause"

LIC_FILES_CHKSUM = "file://COPYING.txt;md5=af6809583bfde9a31595a58bb4a24514"

PR = "r0"

SRC_URI[md5sum] = "b751f772bdeb2812a2a8e7202bf1dae8"
SRC_URI[sha256sum] = "c55aa3dc538e6fd5eaf732f4eb6b98bdcb7cedb5b91d3b5bdcf29c98c293f58e"
SRC_URI = "http://protobuf.googlecode.com/files/protobuf-${PV}.tar.gz"
PYTHON_SRC_DIR="python"

EXTRA_OECONF += " --with-protoc=echo"
inherit autotools setuptools

do_compile() {
	# Compile protoc compiler
	base_do_compile
}

do_install() {
	# Install protoc compiler
	autotools_do_install
	# Install header files
	cd "${PYTHON_SRC_DIR}"
	distutils_do_install
}

BBCLASSEXTEND = "native nativesdk"