# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="OpenFst is a library for constructing, combining, optimizing, and searching weighted finite-state transducers (FSTs)." HOMEPAGE="http://www.openfst.org/" SRC_URI="http://128.122.80.210/~openfst/twiki/pub/FST/FstDownload/${PN}-beta-${PV/_beta*/}.tgz" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="" RDEPEND="$RDEPEND" src_compile() { cd "${WORKDIR}/${PN}/fst" emake all || die "make failed" } src_install() { mkdir -p "${D}usr/include/fst/lib" mkdir -p "${D}usr/lib" cp -v "${WORKDIR}/${PN}/fst/lib/"*.h "${D}usr/include/fst/lib" cp -v "${WORKDIR}/${PN}/fst/lib/"*.a "${D}usr/lib" cd "${WORKDIR}/${PN}" dodoc README }