From 0b977787374349328a21af0deade30d534cf3978 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 18 May 2022 23:40:38 +0100 Subject: fixed gcc loader/linker errors --- repo/util/flite/flite.xibuild | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 repo/util/flite/flite.xibuild (limited to 'repo/util/flite/flite.xibuild') 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 +} -- cgit v1.2.1