summaryrefslogtreecommitdiff
blob: 5a6e5bba38a67cff7608997bdf26de58c56b486e (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/SphinxTrain/SphinxTrain-0.9.1.ebuild,v 1.5 2003/09/07 00:06:03 msterret Exp $

S=${WORKDIR}/${PN}
DESCRIPTION="SphinxTrain - Speech Recognition (Training Module)"
HOMEPAGE="http://www.speech.cs.cmu.edu/SphinxTrain/"
SRC_URI="http://www.speech.cs.cmu.edu/${PN}/${P}-beta.tar.gz"
SLOT="0"
LICENSE="BSD as-is"
KEYWORDS="x86"
IUSE=""

DEPEND="virtual/glibc
	media-sound/sphinx2
	media-sound/festival"

src_compile() {
	econf || die "econf failed"
	emake || die "emake failed"
}

src_install () {
	dodoc etc/*cfg
	dobin bin.*/*
	dodoc README
	dohtml doc/*[txt html sgml]
}

pkg_postinst() {
	einfo
	einfo "Detailed usage and training instructions can be found at"
	einfo "http://www.speech.cs.cmu.edu/SphinxTrain/"
	einfo
}