[oe] [meta-oe][PATCH 2/2] protobuf-c: misc recipe cleanup
Andre McCurdy
armccurdy at gmail.com
Thu Jun 28 18:48:18 UTC 2018
Re-order variables to align more closely with the OE style-guide.
Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
---
meta-oe/recipes-devtools/protobuf/protobuf-c_1.3.0.bb | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf-c_1.3.0.bb b/meta-oe/recipes-devtools/protobuf/protobuf-c_1.3.0.bb
index fe1e6e5..9b69690 100644
--- a/meta-oe/recipes-devtools/protobuf/protobuf-c_1.3.0.bb
+++ b/meta-oe/recipes-devtools/protobuf/protobuf-c_1.3.0.bb
@@ -8,15 +8,10 @@ has been split out into the protobuf-c-rpc project."
HOMEPAGE = "https://github.com/protobuf-c/protobuf-c"
SECTION = "console/tools"
LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=cb901168715f4782a2b06c3ddaefa558"
DEPENDS = "protobuf-native protobuf"
-PACKAGE_BEFORE_PN = "${PN}-compiler"
-RDEPENDS_${PN}-compiler = "protobuf-compiler"
-RDEPENDS_${PN}-dev += "${PN}-compiler"
-
-LIC_FILES_CHKSUM = "file://LICENSE;md5=cb901168715f4782a2b06c3ddaefa558"
-
PV .= "+git${SRCPV}"
SRCREV = "dac1a65feac4ad72f612aab99f487056fbcf5c1a"
@@ -26,6 +21,11 @@ S = "${WORKDIR}/git"
inherit autotools pkgconfig
+PACKAGE_BEFORE_PN = "${PN}-compiler"
+
FILES_${PN}-compiler = "${bindir}"
+RDEPENDS_${PN}-compiler = "protobuf-compiler"
+RDEPENDS_${PN}-dev += "${PN}-compiler"
+
BBCLASSEXTEND = "native nativesdk"
--
1.9.1
More information about the Openembedded-devel
mailing list