From 218ed1504ddad6ecd65faa583ce4234d089dfff4 Mon Sep 17 00:00:00 2001 From: Jesse Gilles Date: Wed, 27 Oct 2010 17:17:13 -0500 Subject: add protobuf 2.3.0 --- recipes/protobuf/protobuf-native_2.3.0.bb | 7 +++++++ recipes/protobuf/protobuf.inc | 8 ++++++++ recipes/protobuf/protobuf_2.3.0.bb | 11 +++++++++++ 3 files changed, 26 insertions(+) create mode 100644 recipes/protobuf/protobuf-native_2.3.0.bb create mode 100644 recipes/protobuf/protobuf.inc create mode 100644 recipes/protobuf/protobuf_2.3.0.bb 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" + -- cgit v1.2.3