blob: 57cd8742b4b1cd37b251382253e9171f5c42d6ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/SphinxTrain/SphinxTrain-1.0.8.ebuild,v 1.3 2013/06/27 18:20:50 ago Exp $
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/"
}
|