# Template file for 'sphinxbase'
pkgname=sphinxbase
version=0.8
revision=4
build_style=gnu-configure
configure_args="--enable-fixed --disable-static --without-python"
hostmakedepends="pkg-config bison"
makedepends="jack-devel pulseaudio-devel libsndfile-devel libsamplerate-devel"
short_desc="CMU Sphinx common libraries and utilities"
maintainer="Martin Riese <grauehaare@gmx.de>"
license="GPL-2"
homepage="http://cmusphinx.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/cmusphinx/${pkgname}/${version}/${pkgname}-${version}.tar.gz"
checksum="55708944872bab1015b8ae07b379bf463764f469163a8fd114cbb16c5e486ca8"

sphinxbase-devel_package() {
	depends="libsndfile-devel libsamplerate-devel pulseaudio-devel ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove "usr/lib/*.so"
		vmove usr/lib/pkgconfig
	}
}
