void-packages/srcpkgs/pocketsphinx/template

31 lines
1 KiB
Bash

# 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"
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
}
}