summaryrefslogtreecommitdiff
blob: 2b165c9607d3498672f2e0a9d67413ee9a69645c (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/duali-data/duali-data-0.1b.ebuild,v 1.12 2008/12/16 00:43:00 pva Exp $

IUSE=""

DESCRIPTION="Dictionary data for the Arab dictionary project duali"
HOMEPAGE="http://www.arabeyes.org/project.php?proj=Duali"
SRC_URI="mirror://sourceforge/arabeyes/${P}.tar.gz"

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

DEPEND="app-text/duali"

src_compile() {
	dict2db --path ./ || die
}

src_install() {
	insinto /usr/share/duali
	if [[ -e stems.db ]]; then
		doins stems.db prefixes.db suffixes.db || die
	else
		doins stemsdb prefixesdb suffixesdb || die
	fi
	doins tableab tableac tablebc || die
	dodoc README
}