diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-11-26 14:32:28 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-11-26 23:01:31 +0000 |
commit | 5048f59b5cb071b2ca893f24ee2aeb8d24a7e397 (patch) | |
tree | 571d395ef4dafb3c39464785962383ddd772808a /meta/recipes-support/beecrypt | |
parent | bd93f10da3a19bba2f4fed12738c78e2c01fc854 (diff) | |
download | poky-5048f59b5cb071b2ca893f24ee2aeb8d24a7e397.tar.gz |
beecrypt: Add PACKAGECONFIG for cplusplus
Add a PACKGECONFIG to control the building of the beecrypt C++
bindings. The only user of beecrypt in OE-Core is rpm and this doesn't
need the C++ bindings so default the option to be off. This means
we can lose the icu dependency by default which is a significant
performance win.
(From OE-Core rev: e6885069e2af833ebacfd33a04147b095af92d20)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/beecrypt')
-rw-r--r-- | meta/recipes-support/beecrypt/beecrypt_4.2.1.bb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-support/beecrypt/beecrypt_4.2.1.bb b/meta/recipes-support/beecrypt/beecrypt_4.2.1.bb index 0a8ff4bc56..a917201023 100644 --- a/meta/recipes-support/beecrypt/beecrypt_4.2.1.bb +++ b/meta/recipes-support/beecrypt/beecrypt_4.2.1.bb | |||
@@ -16,8 +16,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=9894370afd5dfe7d02b8d14319e729a1 \ | |||
16 | file://COPYING.LIB;md5=dcf3c825659e82539645da41a7908589 \ | 16 | file://COPYING.LIB;md5=dcf3c825659e82539645da41a7908589 \ |
17 | file://include/beecrypt/beecrypt.h;endline=20;md5=47a93eef539aac237eef86297a4d71c1" | 17 | file://include/beecrypt/beecrypt.h;endline=20;md5=47a93eef539aac237eef86297a4d71c1" |
18 | 18 | ||
19 | DEPENDS = "icu" | ||
20 | |||
21 | PR = "r3" | 19 | PR = "r3" |
22 | 20 | ||
23 | inherit autotools multilib_header | 21 | inherit autotools multilib_header |
@@ -29,6 +27,9 @@ do_install_append() { | |||
29 | 27 | ||
30 | EXTRA_OECONF="--without-python --enable-shared --enable-static --disable-openmp --with-java=no" | 28 | EXTRA_OECONF="--without-python --enable-shared --enable-static --disable-openmp --with-java=no" |
31 | 29 | ||
30 | PACKAGECONFIG = "" | ||
31 | PACKAGECONFIG[cplusplus] = "--with-cplusplus,--without-cplusplus,icu" | ||
32 | |||
32 | FILES_${PN} = "${sysconfdir} ${libdir}/*.so.* ${libdir}/${BPN}/*.so.*" | 33 | FILES_${PN} = "${sysconfdir} ${libdir}/*.so.* ${libdir}/${BPN}/*.so.*" |
33 | FILES_${PN}-dev += "${libdir}/${BPN}/*.so ${libdir}/${BPN}/*.la" | 34 | FILES_${PN}-dev += "${libdir}/${BPN}/*.so ${libdir}/${BPN}/*.la" |
34 | FILES_${PN}-staticdev += "${libdir}/${BPN}/*.a" | 35 | FILES_${PN}-staticdev += "${libdir}/${BPN}/*.a" |