[oe] [meta-oe][PATCH] espeak: install header in proper location
Koen Kooi
koen at dominion.thruhere.net
Tue Apr 29 19:03:43 UTC 2014
This matches debian, also provide symlink for backwards compatibility.
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
---
meta-oe/recipes-support/espeak/espeak_1.37.bb | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta-oe/recipes-support/espeak/espeak_1.37.bb b/meta-oe/recipes-support/espeak/espeak_1.37.bb
index c7f4b52..86f2c7a 100644
--- a/meta-oe/recipes-support/espeak/espeak_1.37.bb
+++ b/meta-oe/recipes-support/espeak/espeak_1.37.bb
@@ -25,12 +25,13 @@ do_compile() {
do_install() {
install -d ${D}${bindir}
install -d ${D}${libdir}
- install -d ${D}${includedir}
+ install -d ${D}${includedir}/espeak
install -d ${D}${datadir}/espeak-data
# we do not ship "speak" binary though.
install -m 0755 ${S}/src/espeak ${D}${bindir}
- install -m 0644 ${S}/src/speak_lib.h ${D}${includedir}
+ install -m 0644 ${S}/src/speak_lib.h ${D}${includedir}/espeak/
+ ln -sf espeak/espeak.h ${D}${includedir}/
oe_libinstall -so -C src libespeak ${D}${libdir}
if [ "${SITEINFO_ENDIANNESS}" = "be" ] ; then
--
1.9.0
More information about the Openembedded-devel
mailing list