blob: 24277b0a5c138fd2e717b9a1868c8ef4fd967cbf (
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
42
43
44
45
46
47
48
|
# Copyright 1999-2012 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.7 2012/11/24 14:30:43 ulm Exp $
EAPI="3"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
inherit python
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"
LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 ~hppa ia64 ~mips ppc ~sparc x86"
IUSE=""
DEPEND=""
PDEPEND="app-dicts/duali-data"
RESTRICT_PYTHON_ABIS="3.*"
src_install() {
dobin duali dict2db trans2arabic arabic2trans
python_convert_shebangs -r 2 "${ED}usr/bin"
insinto /etc
doins duali.conf
doman doc/man/*
installation() {
insinto $(python_get_sitedir)/pyduali
doins pyduali/*.py
}
python_execute_function installation
dodoc README ChangeLog INSTALL MANIFEST
}
pkg_postinst() {
python_mod_optimize pyduali
}
pkg_postrm() {
python_mod_cleanup pyduali
}
|