diff options
author | Jesse Gilles <jgilles@multitech.com> | 2011-10-03 17:07:18 -0500 |
---|---|---|
committer | Jesse Gilles <jgilles@multitech.com> | 2011-10-03 17:07:18 -0500 |
commit | 32f1fc8fd733d7c1a4da2844b0259f9f6691894e (patch) | |
tree | 5d2e2d6c7849113d9e56d6e82b664d48af8d1632 /multitech/recipes/protobuf | |
parent | 5384b9a4b2571d9e2cfd7a1597cbd826d360dd7f (diff) |
protobuf: add 2.4.1, use BBCLASSEXTEND for native
Diffstat (limited to 'multitech/recipes/protobuf')
-rw-r--r-- | multitech/recipes/protobuf/protobuf-native_2.3.0.bb | 7 | ||||
-rw-r--r-- | multitech/recipes/protobuf/protobuf.inc | 9 | ||||
-rw-r--r-- | multitech/recipes/protobuf/protobuf_2.3.0.bb | 10 | ||||
-rw-r--r-- | multitech/recipes/protobuf/protobuf_2.4.1.bb | 7 |
4 files changed, 19 insertions, 14 deletions
diff --git a/multitech/recipes/protobuf/protobuf-native_2.3.0.bb b/multitech/recipes/protobuf/protobuf-native_2.3.0.bb deleted file mode 100644 index c2b79de..0000000 --- a/multitech/recipes/protobuf/protobuf-native_2.3.0.bb +++ /dev/null @@ -1,7 +0,0 @@ -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 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 = "" diff --git a/multitech/recipes/protobuf/protobuf_2.3.0.bb b/multitech/recipes/protobuf/protobuf_2.3.0.bb index 6efb8f7..99f3e75 100644 --- a/multitech/recipes/protobuf/protobuf_2.3.0.bb +++ b/multitech/recipes/protobuf/protobuf_2.3.0.bb @@ -1,11 +1,7 @@ require protobuf.inc -PR = "r0" +PR = "${INC_PR}.0" -DEPENDS = "protobuf-native" - -SRC_URI[tarball.md5sum] = f2964f636b3c67d1e9d8b90819fa8ddb - -# use native protoc for running unit tests -EXTRA_OECONF += "--with-protoc=${STAGING_BINDIR_NATIVE}/protoc" +SRC_URI[tarball.md5sum] = "f2964f636b3c67d1e9d8b90819fa8ddb" +SRC_URI[tarball.sha256sum] = "760c7707c3fe9ce801916bbd3067d711a33aa550c01b32d1e1761119cf6280ac" diff --git a/multitech/recipes/protobuf/protobuf_2.4.1.bb b/multitech/recipes/protobuf/protobuf_2.4.1.bb new file mode 100644 index 0000000..0531ac3 --- /dev/null +++ b/multitech/recipes/protobuf/protobuf_2.4.1.bb @@ -0,0 +1,7 @@ +require protobuf.inc + +PR = "${INC_PR}.0" + +SRC_URI[tarball.md5sum] = "ed436802019c9e1f40cc750eaf78f318" +SRC_URI[tarball.sha256sum] = "cf8452347330834bbf9c65c2e68b5562ba10c95fa40d4f7ec0d2cb332674b0bf" + |