mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-06 16:58:24 +00:00
protobuf: misc recipe cleanup
Re-order variables to align more closely with the OE style-guide.
Remove spurious ${bindir} from the protobuf-lite packaging rules.
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -5,30 +5,24 @@ all of its internal RPC protocols and file formats."
|
|||||||
HOMEPAGE = "https://github.com/google/protobuf"
|
HOMEPAGE = "https://github.com/google/protobuf"
|
||||||
SECTION = "console/tools"
|
SECTION = "console/tools"
|
||||||
LICENSE = "BSD-3-Clause"
|
LICENSE = "BSD-3-Clause"
|
||||||
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=35953c752efc9299b184f91bef540095"
|
||||||
PACKAGE_BEFORE_PN = "${PN}-compiler ${PN}-lite"
|
|
||||||
|
|
||||||
DEPENDS = "zlib"
|
DEPENDS = "zlib"
|
||||||
DEPENDS_append_class-target = " protobuf-native"
|
DEPENDS_append_class-target = " protobuf-native"
|
||||||
RDEPENDS_${PN}-compiler = "${PN}"
|
|
||||||
RDEPENDS_${PN}-dev += "${PN}-compiler"
|
|
||||||
RDEPENDS_${PN}-ptest = "bash python-protobuf"
|
|
||||||
|
|
||||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=35953c752efc9299b184f91bef540095"
|
|
||||||
|
|
||||||
|
PV .= "+git${SRCPV}"
|
||||||
SRCREV = "106ffc04be1abf3ff3399f54ccf149815b287dd9"
|
SRCREV = "106ffc04be1abf3ff3399f54ccf149815b287dd9"
|
||||||
|
|
||||||
PV = "3.5.1+git${SRCPV}"
|
|
||||||
|
|
||||||
SRC_URI = "git://github.com/google/protobuf.git;branch=3.5.x \
|
SRC_URI = "git://github.com/google/protobuf.git;branch=3.5.x \
|
||||||
file://run-ptest \
|
file://run-ptest \
|
||||||
"
|
"
|
||||||
|
|
||||||
EXTRA_OECONF += " --with-protoc=echo"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
inherit autotools-brokensep pkgconfig ptest
|
inherit autotools-brokensep pkgconfig ptest
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
EXTRA_OECONF += "--with-protoc=echo"
|
||||||
|
|
||||||
TEST_SRC_DIR = "examples"
|
TEST_SRC_DIR = "examples"
|
||||||
LANG_SUPPORT = "cpp python"
|
LANG_SUPPORT = "cpp python"
|
||||||
|
|
||||||
@@ -76,8 +70,14 @@ do_install_ptest() {
|
|||||||
cd "$olddir"
|
cd "$olddir"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PACKAGE_BEFORE_PN = "${PN}-compiler ${PN}-lite"
|
||||||
|
|
||||||
FILES_${PN}-compiler = "${bindir} ${libdir}/libprotoc${SOLIBS}"
|
FILES_${PN}-compiler = "${bindir} ${libdir}/libprotoc${SOLIBS}"
|
||||||
FILES_${PN}-lite = "${bindir} ${libdir}/libprotobuf-lite${SOLIBS}"
|
FILES_${PN}-lite = "${libdir}/libprotobuf-lite${SOLIBS}"
|
||||||
|
|
||||||
|
RDEPENDS_${PN}-compiler = "${PN}"
|
||||||
|
RDEPENDS_${PN}-dev += "${PN}-compiler"
|
||||||
|
RDEPENDS_${PN}-ptest = "bash python-protobuf"
|
||||||
|
|
||||||
MIPS_INSTRUCTION_SET = "mips"
|
MIPS_INSTRUCTION_SET = "mips"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user