void-packages/srcpkgs/flite/template

29 lines
749 B
Bash

# Template file for 'flite'
pkgname=flite
version=2.1
revision=1
wrksrc="flite-${version}-release"
build_style=gnu-configure
configure_args="--enable-shared --with-audio=alsa"
makedepends="alsa-lib-devel"
short_desc="A lightweight speech synthesis engine"
maintainer="Sir_Boops <admin@boops.me>"
license="custom"
homepage="http://www.festvox.org/flite/"
distfiles="http://www.festvox.org/flite/packed/flite-${version}/flite-${version}-release.tar.bz2"
checksum=c73c3f6a2ea764977d6eaf0a287722d1e2066b4697088c552e342c790f3d2b85
post_install() {
vlicense COPYING
}
flite-devel_package() {
short_desc+=" - development files"
depends="flite>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}