summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2010-10-27 17:17:13 -0500
committerJesse Gilles <jgilles@multitech.com>2010-12-17 10:45:14 -0600
commit218ed1504ddad6ecd65faa583ce4234d089dfff4 (patch)
treecde9db8c464248076f0dc16adba81663166a0951
parentca242b6506d7e2b6f2b405cc826dc13e80628d77 (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"
+