aboutsummaryrefslogtreecommitdiff
blob: 1fb4eb4248cf07cda4b798c6e287f1a51421f394 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils multilib

DESCRIPTION="Finite State Transducer tools by Google et al."
HOMEPAGE="http://www.openfst.org"
SRC_URI="http://mohri-lt.cs.nyu.edu/twiki/pub/FST/FstDownload/${P}.tar.gz"

LICENSE="Apache-2.0"

SLOT="0"

KEYWORDS="~x86"

IUSE=""

DEPEND=""
RDEPEND="${DEPEND}"

src_install() {
	emake DESTDIR="${D}" install || die "install failed"
	dodoc AUTHORS NEWS README || die "docs missing"
}

src_test() {
	einfo "make test can take a few hours on moderately modern systems"
	make test || die "check failed"
}