summaryrefslogtreecommitdiff
blob: 46ce710e6db57b7a774b4229e7108bde82fd73f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

WANT_AUTOCONF="2.5"
WANT_AUTOMAKE="1.9"
inherit subversion autotools

DESCRIPTION="Free Finnish spellchecking and huphenation library"
HOMEPAGE="http://www.hunspell-fi.org/"
ESVN_REPO_URI="https://svn.sourceforge.net/svnroot/voikko/trunk/libvoikko"
#ESVN_BOOTSTRAP="autogen.sh"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-x86 -amd64" # Live SVN not for public consumption
IUSE=""

DEPEND="sci-misc/malaga
	=sci-misc/suomi-malaga-9999
	virtual/libiconv"
RDEPEND="${DEPEND}"

src_unpack() {
	subversion_src_unpack
	cd ${S}
	eautoreconf
}

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
}