# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils flag-o-matic multilib 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" 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" }