summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2010-10-27 17:17:13 -0500
committerJesse Gilles <jgilles@multitech.com>2010-10-27 17:17:13 -0500
commit400e5880522ac64e99cf5cffe02bd8c5d59c400c (patch)
tree425e7991f0077c88aee8cb43a1fb3078c676e233
parent2add9d07aae60301687b0b5e2848db8d44b9adcd (diff)
add protobuf 2.3.0
-rw-r--r--recipes/protobuf/protobuf-native_2.3.0.bb7
-rw-r--r--recipes/protobuf/protobuf.inc8
-rw-r--r--recipes/protobuf/protobuf_2.3.0.bb11
3 files changed, 26 insertions, 0 deletions
diff --git a/recipes/protobuf/protobuf-native_2.3.0.bb b/recipes/protobuf/protobuf-native_2.3.0.bb
new file mode 100644
index 0000000000..c2b79de1e1
--- /dev/null
+++ b/recipes/protobuf/protobuf-native_2.3.0.bb
@@ -0,0 +1,7 @@
+require protobuf.inc
+
+PR = "r0"
+
+SRC_URI[tarball.md5sum] = f2964f636b3c67d1e9d8b90819fa8ddb
+
+inherit native
diff --git a/recipes/protobuf/protobuf.inc b/recipes/protobuf/protobuf.inc
new file mode 100644
index 0000000000..0869a14636
--- /dev/null
+++ b/recipes/protobuf/protobuf.inc
@@ -0,0 +1,8 @@
+DESCRIPTION = "Google Protocol Buffers"
+HOMEPAGE = "http://www.google.com/"
+PRIORITY = "optional"
+LICENSE = "BSD"
+
+SRC_URI = "http://protobuf.googlecode.com/files/protobuf-${PV}.tar.bz2;name=tarball"
+
+inherit autotools
diff --git a/recipes/protobuf/protobuf_2.3.0.bb b/recipes/protobuf/protobuf_2.3.0.bb
new file mode 100644
index 0000000000..6efb8f7889
--- /dev/null
+++ b/recipes/protobuf/protobuf_2.3.0.bb
@@ -0,0 +1,11 @@
+require protobuf.inc
+
+PR = "r0"
+
+DEPENDS = "protobuf-native"
+
+SRC_URI[tarball.md5sum] = f2964f636b3c67d1e9d8b90819fa8ddb
+
+# use native protoc for running unit tests
+EXTRA_OECONF += "--with-protoc=${STAGING_BINDIR_NATIVE}/protoc"
+