mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-31 01:10:08 +00:00
protobuf: split package to main and compiler packages
Protobuf has two main features, a compiler and a library. Run-time applications only need the libraries to run. Signed-off-by: Felipe F. Tonello <eu@felipetonello.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
3bae88a2ee
commit
821414a07d
@@ -6,7 +6,11 @@ HOMEPAGE = "https://github.com/google/protobuf"
|
|||||||
SECTION = "console/tools"
|
SECTION = "console/tools"
|
||||||
LICENSE = "BSD-3-Clause"
|
LICENSE = "BSD-3-Clause"
|
||||||
|
|
||||||
|
PACKAGE_BEFORE_PN = "${PN}-compiler"
|
||||||
|
|
||||||
DEPENDS = "zlib"
|
DEPENDS = "zlib"
|
||||||
|
RDEPENDS_${PN}-compiler = "${PN}"
|
||||||
|
RDEPENDS_${PN}-dev += "${PN}-compiler"
|
||||||
|
|
||||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=af6809583bfde9a31595a58bb4a24514"
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=af6809583bfde9a31595a58bb4a24514"
|
||||||
|
|
||||||
@@ -22,4 +26,6 @@ inherit autotools
|
|||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
|
FILES_${PN}-compiler = "${bindir} ${libdir}/libprotoc${SOLIBS}"
|
||||||
|
|
||||||
BBCLASSEXTEND = "native nativesdk"
|
BBCLASSEXTEND = "native nativesdk"
|
||||||
|
|||||||
Reference in New Issue
Block a user