blob: 4ccb69f2c536d26823a0660bf50f8410de129078 (
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
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils multilib flag-o-matic
DESCRIPTION="Finite State Transducer tools by Google et al."
HOMEPAGE="http://www.openfst.org"
SRC_URI="http://www.openfst.org/twiki/pub/FST/FstDownload/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
pkg_setup() {
filter-ldflags -Wl,--as-needed --as-needed
}
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"
}
|