From 5ab2ad3981b8c454e903cbbe62e8cce17c356293 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Tue, 29 Apr 2014 21:03:43 +0200 Subject: espeak: install header in proper location This matches debian, also provide symlink for backwards compatibility. Signed-off-by: Koen Kooi Signed-off-by: Martin Jansa --- 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 c7f4b521c3..86f2c7a761 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 -- cgit v1.2.3-54-g00ecf