summaryrefslogtreecommitdiff
blob: 145fa3bd3fbe7293a8c17a35b9445830bd9aa8a0 (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-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/twibber/twibber-0.2.0_pre2.ebuild,v 1.1 2005/03/14 14:40:59 lordvan Exp $

inherit distutils

# for alphas,..
MY_PV="${PV/_pre/pre}"
MY_P="${PN}-${MY_PV}"
DESCRIPTION="twibber is a Python package aimed at handling the Jabber - XMMP protocol in a completely asynchronous way. This means absolutely no threads which may become very harmful and cause a lot of pain."
HOMEPAGE="http://slarty.polito.it:8069/~sciasbat/wiki/moin.cgi/twibber"
SRC_URI="http://www.jabberstudio.org/projects/twibber/releases/${MY_P}.tar.gz"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~x86 ~amd64 ~ppc ~alpha ~sparc"
IUSE="doc"

DEPEND=">=dev-python/pyxml-0.8.3
	>=dev-python/twisted-1.3.0"

S=${WORKDIR}/${MY_P}

src_install() {
	distutils_src_install

	# install docs if wanted
	if use doc; then
		dodir /usr/share/docs/${P}
		cp -r ${S}/docs ${S}/tests ${S}/examples ${D}/usr/share/doc/${P}/
	fi
}