# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="5" MY_PN="lib${PN}" MY_P="${MY_PN}-${PV/_rc/rc}" DESCRIPTION="Free Finnish spellchecking and hyphenation library" HOMEPAGE="http://voikko.sf.net" #SRC_URI="http://www.puimula.org/htp/testing/${MY_P}.tar.gz" SRC_URI="mirror://sourceforge/${PN}/${MY_PN}/${PV}/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64" IUSE="hfst" DEPEND="hfst? ( app-text/hfst-ospell ) !hfst? ( sci-misc/malaga >=sci-misc/suomi-malaga-1.4 ) virtual/libiconv" RDEPEND="${DEPEND}" S="${WORKDIR}/${MY_P/rc?/}" src_configure() { econf CXXFLAGS=-Wno-error $(use_enable hfst) } # N.B. the build may require python 2?