blob: 5c847d784796a4e7f3cfa32a08a82003713eeb2c (
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
|
# Copyright 1999-2008 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="alsa gtk gzip sndfile zlib"
DEPEND=">=sys-libs/readline-4.1
sys-libs/glibc
alsa? ( media-libs/alsa-lib )
gtk? ( x11-libs/gtk+:1 )
gzip? ( app-arch/gzip )
sndfile? ( media-libs/libsndfile )
zlib? ( sys-libs/zlib )"
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
}
|