summaryrefslogblamecommitdiff
path: root/user/flite/APKBUILD
blob: ae7753595f310b095ee73e9dbefa8315adb7bdfc (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                           
             
          
        


                                                                  
                                                    

                                                                                

                          
                          
                                                                                          

         





                                         


                                      



            



                 


                                      
                                                                                                                                                               
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=flite
pkgver=2.2
pkgrel=1
pkgdesc="Small, fast text-to-speech synthesizer based on Festival"
url="http://www.festvox.org/flite/"
arch="all"
options="!check"  # Test suite refuses to cooperate.
license="MIT AND Apache-2.0 AND BSD-3-Clause AND Public-Domain AND BSD-2-Clause"
depends=""
depends_dev="alsa-lib-dev"
makedepends="$depends_dev"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/festvox/flite/archive/v$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--with-pic \
		--enable-shared
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="1ca2f4145651490ef8405fdb830a3b42e885020a7603d965f6a5581b01bed41047d396b38c2ceab138fc0b28d28078db17acd2b5a84c6444cb99d65c581afa72  flite-2.2.tar.gz"