summaryrefslogtreecommitdiff
blob: be8f00895c7f98f31ad4c8b5f8734b3f3d6b5699 (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-dicts/ispell-fr/ispell-fr-1.0.ebuild,v 1.15 2008/11/01 12:08:15 pva Exp $

inherit multilib

MY_P="Francais-GUTenberg-v${PV}"
DESCRIPTION="French dictionnary for ispell"
HOMEPAGE="http://www.unil.ch/ling/cp/frgut.html"
SRC_URI="http://www.unil.ch/ling/cp/${MY_P}.tar.gz"

SLOT="0"
LICENSE="GPL-2"
IUSE=""
KEYWORDS="alpha amd64 hppa ~mips ppc sparc x86"

DEPEND="app-text/ispell"

S=${WORKDIR}/${MY_P}

src_compile() {
	cat dicos/*.dico | sort > francais.dico
	buildhash francais.dico francais.aff francais.hash || die
	buildhash francais.dico francais-TeX8b.aff francais-TeX8b.hash || die
}

src_install () {
	insinto /usr/$(get_libdir)/ispell
	doins francais.aff francais.hash francais-TeX8b.aff francais-TeX8b.hash || die
}