summaryrefslogtreecommitdiff
blob: 165e9b5727693300eb770a75a5ccc7f6ed7b94a7 (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/duali/duali-0.2.0.ebuild,v 1.1 2007/01/22 20:04:01 antarus Exp $

inherit distutils

IUSE=""

DESCRIPTION="Arabic dictionary based on the DICT protocol"
HOMEPAGE="http://www.arabeyes.org/project.php?proj=Duali"
SRC_URI="mirror://sourceforge/arabeyes/${P}.tar.bz2"

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

DEPEND="dev-lang/python"
PDEPEND="app-dicts/duali-data"

src_install() {
	into /usr
	dobin duali dict2db trans2arabic arabic2trans
	insinto /etc
	doins duali.conf
	doman doc/man/*

	distutils_python_version
	insinto /usr/lib/python${PYVER}/site-packages/pyduali
	doins pyduali/*.py

	dodoc README ChangeLog INSTALL MANIFEST
}