blob: 3fff5ddcb3fca79d35e471caaebedbc50912264e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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
}
|