summaryrefslogtreecommitdiff
path: root/multitech/recipes/protobuf/protobuf.inc
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2011-10-03 17:07:18 -0500
committerJesse Gilles <jgilles@multitech.com>2011-10-03 17:07:18 -0500
commit32f1fc8fd733d7c1a4da2844b0259f9f6691894e (patch)
tree5d2e2d6c7849113d9e56d6e82b664d48af8d1632 /multitech/recipes/protobuf/protobuf.inc
parent5384b9a4b2571d9e2cfd7a1597cbd826d360dd7f (diff)
protobuf: add 2.4.1, use BBCLASSEXTEND for native
Diffstat (limited to 'multitech/recipes/protobuf/protobuf.inc')
-rw-r--r--multitech/recipes/protobuf/protobuf.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/multitech/recipes/protobuf/protobuf.inc b/multitech/recipes/protobuf/protobuf.inc
index 0869a14..23d1677 100644
--- a/multitech/recipes/protobuf/protobuf.inc
+++ b/multitech/recipes/protobuf/protobuf.inc
@@ -2,7 +2,16 @@ DESCRIPTION = "Google Protocol Buffers"
HOMEPAGE = "http://www.google.com/"
PRIORITY = "optional"
LICENSE = "BSD"
+INC_PR = "r0"
+BBCLASSEXTEND = "native"
+
+DEPENDS = "protobuf-native"
+DEPENDS_virtclass-native = ""
SRC_URI = "http://protobuf.googlecode.com/files/protobuf-${PV}.tar.bz2;name=tarball"
inherit autotools
+
+# use native protoc for running unit tests
+EXTRA_OECONF = " --with-protoc=${STAGING_BINDIR_NATIVE}/protoc"
+EXTRA_OECONF_virtclass-native = ""