diff options
author | davidovski <david@davidovski.xyz> | 2022-05-18 23:40:38 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-05-18 23:40:38 +0100 |
commit | 0b977787374349328a21af0deade30d534cf3978 (patch) | |
tree | 3c2be28ef9a6f74a36f21cd48a34cb06b3080960 /repo/util/flite/flite.xibuild | |
parent | dccab9b94dcfc5e040647210ba22b9cc4bddc742 (diff) |
fixed gcc loader/linker errors
Diffstat (limited to 'repo/util/flite/flite.xibuild')
-rw-r--r-- | repo/util/flite/flite.xibuild | 29 |
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 +} |