From 821414a07d435f9dd797e3ba09cd49d495a9d460 Mon Sep 17 00:00:00 2001 From: "eu@felipetonello.com" Date: Tue, 3 May 2016 16:20:24 +0100 Subject: 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 Signed-off-by: Martin Jansa --- meta-oe/recipes-devtools/protobuf/protobuf_2.6.1.bb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'meta-oe/recipes-devtools/protobuf') diff --git a/meta-oe/recipes-devtools/protobuf/protobuf_2.6.1.bb b/meta-oe/recipes-devtools/protobuf/protobuf_2.6.1.bb index 049f9d4e8f..2977c59c4b 100644 --- a/meta-oe/recipes-devtools/protobuf/protobuf_2.6.1.bb +++ b/meta-oe/recipes-devtools/protobuf/protobuf_2.6.1.bb @@ -6,7 +6,11 @@ HOMEPAGE = "https://github.com/google/protobuf" SECTION = "console/tools" LICENSE = "BSD-3-Clause" +PACKAGE_BEFORE_PN = "${PN}-compiler" + DEPENDS = "zlib" +RDEPENDS_${PN}-compiler = "${PN}" +RDEPENDS_${PN}-dev += "${PN}-compiler" LIC_FILES_CHKSUM = "file://LICENSE;md5=af6809583bfde9a31595a58bb4a24514" @@ -22,4 +26,6 @@ inherit autotools S = "${WORKDIR}/git" +FILES_${PN}-compiler = "${bindir} ${libdir}/libprotoc${SOLIBS}" + BBCLASSEXTEND = "native nativesdk" -- cgit 1.2.3-korg