Following the same recipe organization as protobuf 1. Description, SRC URI and license checksum go into protobuf-c.inc 2. version specific checksums go into protobuf-c_1.2.1.inc 3. recipe for cross compilation goes into protobuf-c_1.2.1.bb
Signed-off-by: Venkateswara Rao Mandela <[email protected]> --- recipes-devtools/protobuf/protobuf-c-1.2.1.inc | 4 ++++ recipes-devtools/protobuf/protobuf-c.inc | 11 +++++++++++ recipes-devtools/protobuf/protobuf-c_1.2.1.bb | 10 ++++++++++ 3 files changed, 25 insertions(+) create mode 100644 recipes-devtools/protobuf/protobuf-c-1.2.1.inc create mode 100644 recipes-devtools/protobuf/protobuf-c.inc create mode 100644 recipes-devtools/protobuf/protobuf-c_1.2.1.bb diff --git a/recipes-devtools/protobuf/protobuf-c-1.2.1.inc b/recipes-devtools/protobuf/protobuf-c-1.2.1.inc new file mode 100644 index 0000000..25e6be3 --- /dev/null +++ b/recipes-devtools/protobuf/protobuf-c-1.2.1.inc @@ -0,0 +1,4 @@ +require protobuf-c.inc + +SRC_URI[md5sum] = "b884aeba4283309445a8e3b6e7322dd6" +SRC_URI[sha256sum] = "2d708fb3c024b9e6e86df141faff802194f5db90a4b79e6d4aa6bd61dd983dd6" diff --git a/recipes-devtools/protobuf/protobuf-c.inc b/recipes-devtools/protobuf/protobuf-c.inc new file mode 100644 index 0000000..15d1393 --- /dev/null +++ b/recipes-devtools/protobuf/protobuf-c.inc @@ -0,0 +1,11 @@ +SUMMARY = "protobuf-c" +DESCRIPTION = "This package provides a code generator and runtime libraries to use Protocol Buffers from pure C" +HOMEPAGE = "https://github.com/protobuf-c/protobuf-c" +SECTION = "console/tools" +LICENSE = "BSD-2-Clause" + +LIC_FILES_CHKSUM = "file://LICENSE;md5=235c3195a3968524dc1524b4ebea0c0e" + +SRC_URI = "https://github.com/protobuf-c/protobuf-c/archive/v${PV}.tar.gz \ + " +inherit autotools diff --git a/recipes-devtools/protobuf/protobuf-c_1.2.1.bb b/recipes-devtools/protobuf/protobuf-c_1.2.1.bb new file mode 100644 index 0000000..a8c4628 --- /dev/null +++ b/recipes-devtools/protobuf/protobuf-c_1.2.1.bb @@ -0,0 +1,10 @@ +require protobuf-c-${PV}.inc + +DEPENDS = "protobuf" + +#SRC_URI += "file://disable_tests.patch \ +# " + +inherit autotools + +BBCLASSEXTEND = "native nativesdk" -- 2.9.3 -- _______________________________________________ meta-virtualization mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-virtualization
