# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ MY_PN="libvoikko-1.1" DESCRIPTION="Free Finnish spellchecking and hyphenation library" HOMEPAGE="http://www.lemi.fi/voikko/" SRC_URI="http://www.hunspell-fi.org/voikkotmp/libvoikko-20060901.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="-x86" IUSE="" DEPEND="sci-misc/malaga sci-misc/suomi-malaga virtual/libiconv" RDEPEND="${DEPEND}" S="${WORKDIR}"/${MY_PN} src_compile() { econf --with-malaga-path=${ROOT}/usr/ \ --with-dictionary-path=${ROOT}/usr/lib/suomi-malaga/ \ || die "econf failed" emake || die "emake failed" } src_install() { emake DESTDIR="${D}" install || die "install failed" dodoc README TODO }