espeak: install header in proper location

This matches debian, also provide symlink for backwards compatibility.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Koen Kooi 2014-04-29 21:03:43 +02:00 committed by Martin Jansa
parent f3b2dbf15d
commit 5ab2ad3981

View File

@ -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