# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

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="~amd64 ~x86"

src_configure() {
	local myeconfargs=(
		--enable-compact-fsts
		--enable-compress
		--enable-const-fsts
		--enable-far
		--enable-linear-fsts
		--enable-lookahead-fsts
		--enable-mpdt
		--enable-ngram-fsts
		--enable-pdt
		--enable-special
		--enable-bin
		--enable-grm
	)
	econf ${myeconfargs[@]}
}