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