flite fix

This commit is contained in:
idriskalp
2020-01-22 22:17:20 +03:00
parent f4400ffed6
commit 13c003824f
3 changed files with 58 additions and 2 deletions
+7 -2
View File
@@ -17,9 +17,14 @@ NoStrip = ["/usr/lib"]
def setup():
#shelltools.system("sed '/^#VOXES.*$/d; s/+//g; s/cmu_indic_lex/&\nVOXES = cmu_us_kal16 cmu_us_slt/' config/android.lv >config/pisilinux.lv")
#shelltools.system("sed -i '/$(INSTALL) -m 755 $(BINDIR)\/flite_time $(DESTDIR)$(INSTALLBINDIR)/d' main/Makefile")
shelltools.export("CC", "clang -fuse-ld=lld")
shelltools.export("CXX", "clang++ -fuse-ld=lld")
shelltools.export("AR", "llvm-ar")
shelltools.export("RANLIB", "llvm-ranlib")
shelltools.export("LDFLAGS", "-lasound -lm")
autotools.configure("--prefix=/usr \
--enable-shared \
--disable-shared \
--with-pic \
--with-audio=alsa \
--with-vox=cmu_us_kal16")
@@ -29,6 +34,6 @@ def build():
def install():
autotools.install()
pisitools.remove("/usr/lib/*.a")
#pisitools.remove("/usr/lib/*.a")
pisitools.dodoc("COPYING", "README*")