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

EAPI=4

DESCRIPTION="Helsinki Finite State Transducer API and tools"
HOMEPAGE="http://hfst.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86"
IUSE="+openfst sfst" # foma"

DEPEND="
	openfst? ( >sci-misc/openfst-1.2 )
	sfst? ( >sci-misc/sfst-1.3 )"
#	foma? ( >sci-misc/foma-0.9.13 )
RDEPEND="${DEPEND}"

src_configure() {
	econf \
		$(use_with openfst) \
		$(use_with sfst) \
		--without-foma
#		$(use_with foma)
}