void-packages/srcpkgs/pocketsphinx/template

32 lines
1 KiB
Text
Raw Normal View History

# Template file for 'pocketsphinx'
pkgname=pocketsphinx
version=0.8
revision=3
short_desc="Lightweight speech recognition system"
maintainer="Martin Riese <grauehaare@gmx.de>"
license="GPL-2"
homepage="http://cmusphinx.sourceforge.net"
2014-11-27 08:15:04 +00:00
distfiles="${SOURCEFORGE_SITE}/cmusphinx/${pkgname}/${version}/${pkgname}-${version}.tar.gz"
checksum="874c4c083d91c8ff26a2aec250b689e537912ff728923c141c4dac48662cce7a"
build_style=gnu-configure
configure_args="--disable-static --without-python"
hostmakedepends="pkg-config"
makedepends="sphinxbase-devel gst-plugins-base-devel pulseaudio-devel libsndfile-devel libsamplerate-devel"
libpocketsphinx_package() {
short_desc+=" - runtime libraries"
pkg_install() {
vmove usr/lib/*.so.*
}
}
libpocketsphinx-devel_package() {
depends="sphinxbase-devel libpocketsphinx>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}