recipes-devtools: Add protobuffer recipes
Signed-off-by: Thomas Klaehn <thomas.klaehn@perinet.io>
This commit is contained in:
parent
d74059638a
commit
994700b51c
22
recipes-devtools/protobuffer/protoc-gen-doc_1.3.2.bb
Normal file
22
recipes-devtools/protobuffer/protoc-gen-doc_1.3.2.bb
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
SUMMARY = "Google's protobuffer doc generator"
|
||||||
|
LICENSE = "MIT"
|
||||||
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||||
|
|
||||||
|
SRC_URI = "https://github.com/pseudomuto/protoc-gen-doc/releases/download/v${PV}/protoc-gen-doc-${PV}.linux-amd64.go1.12.6.tar.gz"
|
||||||
|
|
||||||
|
SRC_URI[md5sum] = "28d6117df511e0b1a1f2a9ca4c63433a"
|
||||||
|
SRC_URI[sha256sum] = "73adb873825c3926403125a33134ca4a3d99d69fc9f23120142e0dcb543322c9"
|
||||||
|
|
||||||
|
FILES_${PN} = " \
|
||||||
|
${bindir}/protoc-gen-doc \
|
||||||
|
"
|
||||||
|
|
||||||
|
do_install () {
|
||||||
|
install -d ${D}${bindir}
|
||||||
|
install -m 0755 ${WORKDIR}/protoc-gen-doc-${PV}.linux-amd64.go1.12.6/protoc-gen-doc ${D}${bindir}
|
||||||
|
}
|
||||||
|
|
||||||
|
INSANE_SKIP_${PN} += " \
|
||||||
|
already-stripped \
|
||||||
|
"
|
||||||
|
|
28
recipes-devtools/protobuffer/protoc_3.13.0.bb
Normal file
28
recipes-devtools/protobuffer/protoc_3.13.0.bb
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
SUMMARY = "Google's protobuffer"
|
||||||
|
LICENSE = "MIT"
|
||||||
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||||
|
|
||||||
|
SRC_URI = "https://github.com/protocolbuffers/protobuf/releases/download/v3.13.0/protoc-3.13.0-linux-x86_64.zip"
|
||||||
|
|
||||||
|
SRC_URI[md5sum] = "20a5326fbc666e1fd069eaa80875fcac"
|
||||||
|
SRC_URI[sha256sum] = "4a3b26d1ebb9c1d23e933694a6669295f6a39ddc64c3db2adf671f0a6026f82e"
|
||||||
|
|
||||||
|
FILES_${PN} = " \
|
||||||
|
${includedir}/google/protobuf/*.proto \
|
||||||
|
${includedir}/google/protobuf/compiler/*.proto \
|
||||||
|
${bindir}/protoc \
|
||||||
|
"
|
||||||
|
|
||||||
|
do_install () {
|
||||||
|
install -d ${D}${bindir}
|
||||||
|
install -m 0755 ${WORKDIR}/bin/protoc ${D}${bindir}
|
||||||
|
|
||||||
|
install -d ${D}${includedir}/google/protobuf/compiler
|
||||||
|
install -m 0644 ${WORKDIR}/include/google/protobuf/*.proto ${D}${includedir}/google/protobuf/
|
||||||
|
install -m 0644 ${WORKDIR}/include/google/protobuf/compiler/*.proto ${D}${includedir}/google/protobuf/compiler/
|
||||||
|
}
|
||||||
|
|
||||||
|
INSANE_SKIP_${PN} += " \
|
||||||
|
already-stripped \
|
||||||
|
"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user