Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 336611
Collapse All | Expand All

(-)a/sphinx3-0.6.3.ebuild (+11 lines)
Lines 2-7 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/sphinx3/sphinx3-0.6.3.ebuild,v 1.3 2009/04/01 18:05:03 williamh Exp $
3
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/sphinx3/sphinx3-0.6.3.ebuild,v 1.3 2009/04/01 18:05:03 williamh Exp $
4
4
5
EAPI="2"
6
5
DESCRIPTION="CMU Speech Recognition engine"
7
DESCRIPTION="CMU Speech Recognition engine"
6
HOMEPAGE="http://fife.speech.cs.cmu.edu/sphinx/"
8
HOMEPAGE="http://fife.speech.cs.cmu.edu/sphinx/"
7
SRC_URI="mirror://sourceforge/cmusphinx/${P}.tar.gz"
9
SRC_URI="mirror://sourceforge/cmusphinx/${P}.tar.gz"
Lines 13-18 Link Here
13
15
14
S=${WORKDIR}/${PN}-${PV:0:3}
16
S=${WORKDIR}/${PN}-${PV:0:3}
15
17
18
src_prepare() {
19
	sed -i \
20
		-e 's/strcpy\((\(hdr_buf->datatag\), dataString\)/memcpy\1, sizeof(\2)/' \
21
		src/libs3decoder/libcep_feat/fe.c || die
22
	sed -i \
23
		-e '/char separator/s/1/2/' \
24
		src/tests/programs/lm_addwords.c || die
25
}
26
16
src_install() {
27
src_install() {
17
	emake DESTDIR="${D}" install || die
28
	emake DESTDIR="${D}" install || die
18
	dodoc AUTHORS ChangeLog NEWS README
29
	dodoc AUTHORS ChangeLog NEWS README

Return to bug 336611