diff options
author | eu@felipetonello.com <eu@felipetonello.com> | 2016-05-03 16:20:24 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-05-06 12:40:26 +0200 |
commit | 821414a07d435f9dd797e3ba09cd49d495a9d460 (patch) | |
tree | 78a71d82bb3d23bcff3bbfa724947398c8f5bc50 /meta-oe/recipes-devtools/protobuf | |
parent | 3bae88a2ee7befdd5bff6e7002c5407f94eb720d (diff) | |
download | meta-openembedded-821414a07d435f9dd797e3ba09cd49d495a9d460.tar.gz |
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>
Diffstat (limited to 'meta-oe/recipes-devtools/protobuf')
-rw-r--r-- | meta-oe/recipes-devtools/protobuf/protobuf_2.6.1.bb | 6 |
1 files changed, 6 insertions, 0 deletions
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 049f9d4e8..2977c59c4 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" | |||
6 | SECTION = "console/tools" | 6 | SECTION = "console/tools" |
7 | LICENSE = "BSD-3-Clause" | 7 | LICENSE = "BSD-3-Clause" |
8 | 8 | ||
9 | PACKAGE_BEFORE_PN = "${PN}-compiler" | ||
10 | |||
9 | DEPENDS = "zlib" | 11 | DEPENDS = "zlib" |
12 | RDEPENDS_${PN}-compiler = "${PN}" | ||
13 | RDEPENDS_${PN}-dev += "${PN}-compiler" | ||
10 | 14 | ||
11 | LIC_FILES_CHKSUM = "file://LICENSE;md5=af6809583bfde9a31595a58bb4a24514" | 15 | LIC_FILES_CHKSUM = "file://LICENSE;md5=af6809583bfde9a31595a58bb4a24514" |
12 | 16 | ||
@@ -22,4 +26,6 @@ inherit autotools | |||
22 | 26 | ||
23 | S = "${WORKDIR}/git" | 27 | S = "${WORKDIR}/git" |
24 | 28 | ||
29 | FILES_${PN}-compiler = "${bindir} ${libdir}/libprotoc${SOLIBS}" | ||
30 | |||
25 | BBCLASSEXTEND = "native nativesdk" | 31 | BBCLASSEXTEND = "native nativesdk" |