summaryrefslogtreecommitdiff
path: root/repo/flite
diff options
context:
space:
mode:
Diffstat (limited to 'repo/flite')
-rw-r--r--repo/flite/flite.xibuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/repo/flite/flite.xibuild b/repo/flite/flite.xibuild
new file mode 100644
index 0000000..3fff5dd
--- /dev/null
+++ b/repo/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
+}