diff options
Diffstat (limited to 'app-accessibility/SphinxTrain/SphinxTrain-1.0.8.ebuild')
-rw-r--r-- | app-accessibility/SphinxTrain/SphinxTrain-1.0.8.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/app-accessibility/SphinxTrain/SphinxTrain-1.0.8.ebuild b/app-accessibility/SphinxTrain/SphinxTrain-1.0.8.ebuild new file mode 100644 index 000000000000..e0014a9ac0a4 --- /dev/null +++ b/app-accessibility/SphinxTrain/SphinxTrain-1.0.8.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit multilib python-single-r1 + +DESCRIPTION="Speech Recognition (Training Module)" +HOMEPAGE="http://cmusphinx.sourceforge.net/html/cmusphinx.php" +SRC_URI="mirror://sourceforge/cmusphinx/sphinxtrain-${PV}.tar.gz" + +LICENSE="BSD-with-attribution" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="app-accessibility/sphinxbase + dev-lang/perl + ${PYTHON_DEPS}" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/sphinxtrain-${PV} + +src_install() { + default + dodoc README etc/*cfg + + python_fix_shebang "${D}"/usr/bin/sphinxtrain + python_optimize "${D}"/usr/$(get_libdir)/sphinxtrain/python/cmusphinx +} + +pkg_postinst() { + elog "Detailed usage and training instructions can be found at" + elog "http://cmusphinx.sourceforge.net/wiki/" +} |