[oe-commits] Koen Kooi : espeak: install header in proper location

git at git.openembedded.org git at git.openembedded.org
Sat May 3 18:55:27 UTC 2014


Module: meta-openembedded.git
Branch: master-next
Commit: 5ab2ad3981b8c454e903cbbe62e8cce17c356293
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=5ab2ad3981b8c454e903cbbe62e8cce17c356293

Author: Koen Kooi <koen at dominion.thruhere.net>
Date:   Tue Apr 29 21:03:43 2014 +0200

espeak: install header in proper location

This matches debian, also provide symlink for backwards compatibility.

Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 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



More information about the Openembedded-commits mailing list