### this file is sourced not run
# source: step

repo=flite
pkgname=${repo} # for SLACKDESC

# Uncomment either section [1] master commit or [2] official release below.

hash=6c9f20dc915b17f5619340069889db0aa007fcdc
MD5SUM=7724c52600e9394a0465a9b37de740bd
hash7=${hash#???????}; hash7=${hash%$hash7}
PKGVER=2.3.0_${hash7}

TARBALL=$pkgname-$hash.tar.gz
SRC_URL=https://github.com/festvox/$repo/archive/$hash.tar.gz

# [2] Stable release

# MD5SUM=
# PKGVER=2.1

# TARBALL=$pkgname-$PKGVER.tar.bz2
# SRC_URL=http://www.festvox.org/flite/packed/flite-$PKGVER/$pkgname-$PKGVER-release.tar.bz2

PKGARCH=x86_64
PKGBUILD=1
BUNDLE=

SLACKREQ='alsa-lib'
SLACKDESC="$pkgname: $pkgname $PKGVER git-$hash7 (text to speech)
$pkgname: 
$pkgname: Flite (festival-lite) is a small, fast run-time speech synthesis engine
$pkgname: developed at CMU and primarily designed for small embedded machines and/or
$pkgname: large servers.
$pkgname: License: BSD and others
$pkgname: 
$pkgname: http://www.festvox.org/flite/
$pkgname: https://github.com/festvox/flite
$pkgname: more voices: http://www.festvox.org/flite/packed/flite-2.0/voices/
$pkgname: even more: http://www.festvox.org/flite/packed/flite-2.1/voices/
"

### default pkg_download
### default pkg_prepare
### default pkg_package

### build
pkg_build() {
	CONFFLAGS="$CONFFLAGS --with-audio=alsa --with-vox=awb"
	cd /tmp/$repo-* || return 1
	pkg_build_autoconf &&
	pkg_build_slackdesc
}

# vim:ft=sh:

