summaryrefslogtreecommitdiff
path: root/repo/flite
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
committerdavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
commit48ca75555522716f0f686dcae3dd6cf3d8ad714d (patch)
tree00c0f58550ba4661e87376f2f02c8001c69bae44 /repo/flite
parent871b2b573f01c1b3176a0f65458b3d281b41c437 (diff)
removed idea of repos
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
+}