summaryrefslogtreecommitdiff
blob: 9ab805ad3b8aeda67cfdfd667e705a3483c980bb (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/quotient/quotient-0.9.1.ebuild,v 1.8 2006/03/04 09:12:12 lucass Exp $

inherit distutils

MY_PN="Quotient"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Quotient is an open source product that combines a multi-protocol messaging server with tools for information management and retrieval. Quotient brings together your email, IM/IRC and IP telephony."
HOMEPAGE="http://divmod.org/projects/quotient"
SRC_URI="http://www.divmod.org/users/release/divmod/${MY_P}.tar.gz"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~x86 ~ppc"
IUSE=""

DEPEND="|| ( (
			>=dev-python/twisted-2
			dev-python/twisted-mail
			dev-python/twisted-web
			dev-python/twisted-names
			dev-python/twisted-runner
		)
		=dev-python/twisted-1.3*
	)
	>=mail-filter/spambayes-1.0_rc1
	>=dev-python/imaging-1.1.4
	>=dev-python/lupy-0.2.1
	>=dev-python/nevow-0.2.0"

S=${WORKDIR}/${MY_P}

src_install() {
	distutils_src_install
	dodoc doc/* || die "doc/* failed"
	#dobin bin/* || die "bin/* failed" ---> conflict with "porthole"
	insinto /usr/share/doc/${P}/bin || die "bin failed"
	doins bin/* || die "bin/* failed"
	insinto /usr/share/doc/${P}/tools || die "tools failed"
	doins tools/* || die "tools/* failed"
	insinto /usr/share/doc/${P}/tools/agi || die "tools/agi failed"
	doins tools/agi/* || die "tools/agi/* failed"
	insinto /usr/share/doc/${P}/admin || die "admin failed"
	doins admin/* || die "admin/* failed"
}