summaryrefslogtreecommitdiff
path: root/repo/util/flite
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-18 23:40:38 +0100
committerdavidovski <david@davidovski.xyz>2022-05-18 23:40:38 +0100
commit0b977787374349328a21af0deade30d534cf3978 (patch)
tree3c2be28ef9a6f74a36f21cd48a34cb06b3080960 /repo/util/flite
parentdccab9b94dcfc5e040647210ba22b9cc4bddc742 (diff)
fixed gcc loader/linker errors
Diffstat (limited to 'repo/util/flite')
-rw-r--r--repo/util/flite/flite.xibuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/repo/util/flite/flite.xibuild b/repo/util/flite/flite.xibuild
new file mode 100644
index 0000000..3fff5dd
--- /dev/null
+++ b/repo/util/flite/flite.xibuild
@@ -0,0 +1,29 @@
+#!/bin/sh
+
+NAME="flite"
+DESC="Open source text to speach engine"
+
+MAKEDEPS="make "
+DEPS="musl alsa-lib"
+
+PKG_VER=2.2
+SOURCE="https://github.com/festvox/flite/archive/refs/tags/v$PKG_VER.tar.gz"
+
+prepare () {
+ sed -i "s/-pd/-p/g" main/Makefile
+}
+
+build () {
+ ./configure \
+ --prefix=/usr \
+ --enable-shared \
+ --localstatedir=/var \
+ --with-audio=linux
+ make
+}
+
+package () {
+ make install INSTALLBINDIR="$PKG_DEST"/usr/bin \
+ INSTALLLIBDIR="$PKG_DEST"/usr/lib \
+ INSTALLINCDIR="$PKG_DEST"/usr/include/flite
+}