summaryrefslogtreecommitdiff
blob: 4e84bbb8b888390adbecb96b97a43665155c74c6 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-words/twisted-words-0.4.0-r1.ebuild,v 1.1 2006/06/26 21:46:22 marienz Exp $

MY_PACKAGE=Words

inherit twisted

DESCRIPTION="Twisted Words contains Instant Messaging implementations."

KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"

DEPEND=">=dev-python/twisted-2.4
	dev-python/twisted-web
	gtk? ( <dev-python/pygtk-2 )"

IUSE="gtk"


src_install() {
	twisted_src_install

	if ! use gtk; then
		# Remove the "im" script if we do not depend on the required pygtk.
		rm -rf "${D}"/usr/{bin,share/man}
	fi
}