| # Copyright 1999-2016 Gentoo Foundation |
| # Distributed under the terms of the GNU General Public License v2 |
| # $Id$ |
| |
| EAPI=6 |
| |
| DESCRIPTION="ALTLinux hyphenation library" |
| HOMEPAGE="http://hunspell.github.io/" |
| SRC_URI="mirror://sourceforge/hunspell/${P}.tar.gz" |
| |
| LICENSE="GPL-2 LGPL-2.1 MPL-1.1" |
| SLOT="0" |
| KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux" |
| IUSE="static-libs" |
| |
| RDEPEND="app-text/hunspell" |
| DEPEND="${RDEPEND} |
| dev-lang/perl |
| " |
| |
| DOCS=( AUTHORS ChangeLog NEWS README{,_hyph_en_US.txt,.nonstandard,.hyphen,.compound} THANKS TODO ) |
| |
| src_configure() { |
| econf $(use_enable static-libs static) |
| } |
| |
| src_install() { |
| default |
| |
| docinto pdf |
| dodoc doc/*.pdf |
| |
| rm -f "${ED}"usr/lib*/libhyphen.la |
| } |