blob: e248153dfbea417c6bfa250d0d6ece0bbe149489 (
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
40
41
42
43
44
45
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="1"
inherit eutils
DESCRIPTION="High-performance, two-pass large vocabulary continuous speech recognition"
HOMEPAGE="http://julius.sourceforge.jp/en_index.php"
SRC_URI="mirror://sourceforge.jp/${PN}/33146/${P}.tar.gz"
LICENSE="julius"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
LANGS="ja"
for LNG in ${LANGS}; do
IUSE="${IUSE} linguas_${LNG}"
done
DEPEND=">=sys-libs/readline-4.1
media-libs/alsa-lib
media-libs/libsndfile
sys-libs/zlib"
RDEPEND=${DEPEND}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/julius-4.1-makefile.patch
epatch "${FILESDIR}"/julius-4.1-newParam.patch
epatch "${FILESDIR}"/julius-4.1-mkfacrash.patch
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc 00readme.txt Release.txt || die
for LNG in ${LINGUAS}; do
dodoc 00readme-${LNG}.txt Release-${LNG}.txt || die
done
}
|