summaryrefslogtreecommitdiff
path: root/multitech/recipes/protobuf
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2011-06-28 15:16:57 -0500
committerJesse Gilles <jgilles@multitech.com>2011-06-28 15:16:57 -0500
commitb23d1d80a23e8ce1910ba7c5006a4fddf3325c7d (patch)
tree40a273fff1fab26a90870668e232b4d79b5ea908 /multitech/recipes/protobuf
initial work on multitech bitbake layer for CoreCDP
Diffstat (limited to 'multitech/recipes/protobuf')
-rw-r--r--multitech/recipes/protobuf/protobuf-native_2.3.0.bb7
-rw-r--r--multitech/recipes/protobuf/protobuf.inc8
-rw-r--r--multitech/recipes/protobuf/protobuf_2.3.0.bb11
3 files changed, 26 insertions, 0 deletions
diff --git a/multitech/recipes/protobuf/protobuf-native_2.3.0.bb b/multitech/recipes/protobuf/protobuf-native_2.3.0.bb
new file mode 100644
index 0000000..c2b79de
--- /dev/null
+++ b/multitech/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/multitech/recipes/protobuf/protobuf.inc b/multitech/recipes/protobuf/protobuf.inc
new file mode 100644
index 0000000..0869a14
--- /dev/null
+++ b/multitech/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/multitech/recipes/protobuf/protobuf_2.3.0.bb b/multitech/recipes/protobuf/protobuf_2.3.0.bb
new file mode 100644
index 0000000..6efb8f7
--- /dev/null
+++ b/multitech/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"
+