summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/espeak/espeak-data_1.37.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/espeak/espeak-data_1.37.bb')
-rw-r--r--meta-oe/recipes-support/espeak/espeak-data_1.37.bb18
1 files changed, 9 insertions, 9 deletions
diff --git a/meta-oe/recipes-support/espeak/espeak-data_1.37.bb b/meta-oe/recipes-support/espeak/espeak-data_1.37.bb
index d15d49690..914bf3601 100644
--- a/meta-oe/recipes-support/espeak/espeak-data_1.37.bb
+++ b/meta-oe/recipes-support/espeak/espeak-data_1.37.bb
@@ -9,18 +9,18 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
9TARGET_ARCH = "${MACHINE_ARCH}" 9TARGET_ARCH = "${MACHINE_ARCH}"
10 10
11do_compile() { 11do_compile() {
12 # Fixing byte order of phoneme data files 12 # Fixing byte order of phoneme data files
13 cd "${S}/platforms/big_endian" 13 cd "${S}/platforms/big_endian"
14 sed -i '/^ *CC *=/d' Makefile 14 sed -i '/^ *CC *=/d' Makefile
15 sed -i 's/\(.*BYTE_ORDER\)/#undef BYTE_ORDER\n#define BYTE_ORDER BIG_ENDIAN\n\1/' espeak-phoneme-data.c 15 sed -i 's/\(.*BYTE_ORDER\)/#undef BYTE_ORDER\n#define BYTE_ORDER BIG_ENDIAN\n\1/' espeak-phoneme-data.c
16 oe_runmake 16 oe_runmake
17 ./espeak-phoneme-data "${S}/espeak-data" 17 ./espeak-phoneme-data "${S}/espeak-data"
18 cp -f phondata phonindex phontab "${S}/espeak-data" 18 cp -f phondata phonindex phontab "${S}/espeak-data"
19} 19}
20 20
21do_install() { 21do_install() {
22 install -d ${D}${layout_datadir}/espeak-data 22 install -d ${D}${layout_datadir}/espeak-data
23 install -m 0644 ${S}/espeak-data/phon* ${D}${layout_datadir}/espeak-data 23 install -m 0644 ${S}/espeak-data/phon* ${D}${layout_datadir}/espeak-data
24} 24}
25 25
26SRC_URI[md5sum] = "5c7b292d0537232868b4ac1317d76c02" 26SRC_URI[md5sum] = "5c7b292d0537232868b4ac1317d76c02"