summaryrefslogtreecommitdiff
blob: f1ad24acb58ce8410d7952ce45c58681b5286d7b (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
49
50
51
52
53
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-p2p/Circle/Circle-0.40e.ebuild,v 1.5 2005/09/06 21:49:32 sekretarz Exp $

inherit python

DESCRIPTION="The Circle messaging and file sharing system"
HOMEPAGE="http://thecircle.org.au/"
SRC_URI="http://thecircle.org.au/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~ppc"
IUSE="vorbis gnome"

DEPEND="virtual/python
	>=dev-python/pygtk-1.99.14
	>=x11-libs/gtk+-2
	vorbis? ( dev-python/pyogg
		dev-python/pyvorbis )
	gnome? ( dev-python/gnome-python )"

src_compile() {
	einfo "Nothing to compile."
}

src_install() {
	python_version
	exeinto /usr/bin/
	doexe circle
	exeinto /usr/lib/apt/methods/
	doexe cftp chttp
	insinto /usr/lib/python${PYVER}/site-packages/circlelib/
	doins circlelib/*.py
	insinto /usr/lib/python${PYVER}/site-packages/circlelib/pixmaps/
	doins circlelib/pixmaps/*
	insinto /usr/lib/python${PYVER}/site-packages/circlelib/crypto/
	doins circlelib/crypto/*
	insinto /usr/lib/python${PYVER}/site-packages/circlelib/ui_gtk/
	doins circlelib/ui_gtk/*
	insinto /usr/lib/python${PYVER}/site-packages/circlelib/ui_http/
	doins circlelib/ui_http/*
	insinto /usr/lib/python${PYVER}/site-packages/circlelib/ui_text/
	doins circlelib/ui_text/*
	insinto /usr/share/pixmaps/
	doins circle-icon.png
	if use gnome ; then
		insinto /usr/share/gnome/apps/Internet/
		doins circle.desktop
	fi
	dohtml circlelib/*.html
	dodoc NEWS PKG-INFO README
}