### 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=96c9df6a4c4e64e9e1b7ca040eddb619a386663b
MD5SUM=cdc335a3b03d1f334eaef16e2e3f3a13
hash7=${hash#???????}; hash7=${hash%$hash7}
PKGVER=2.1.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:

