summaryrefslogtreecommitdiff
blob: 85987ae228673df320daae4c4fc1bffdf5898bf8 (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-dicts/ispell-hu/ispell-hu-1.4.ebuild,v 1.1 2008/11/21 19:53:32 pva Exp $

inherit eutils multilib

MY_P=magyarispell-${PV}
DESCRIPTION="Hungarian dictionary for Ispell"
HOMEPAGE="http://magyarispell.sourceforge.net/"
SRC_URI="mirror://sourceforge/magyarispell/${MY_P}.tar.gz"

LICENSE="|| ( GPL-2 GPL-3 LGPL-2.1 MPL-1.1 )"
KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86"
SLOT="0"

DEPEND="app-text/ispell
	app-text/recode"

IUSE=""

S=${WORKDIR}/${MY_P}

src_compile() {
	make magyar4ispell.hash || die
}

src_install () {
	insinto /usr/$(get_libdir)/ispell

	doins tmp/magyar.aff || die
	newins tmp/magyar4ispell.hash magyar.hash || die
	dosym /usr/$(get_libdir)/ispell/magyar.hash /usr/$(get_libdir)/ispell/hungarian.hash

	dodoc ChangeLog GYIK README OLVASSEL
}