summaryrefslogtreecommitdiff
blob: 398a20f412c6b92a8eaca2170e20a0c160f491fc (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-2004 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.4 2004/11/30 22:29:23 swegener 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="oggvorbis gnome"

DEPEND="virtual/python
	>=dev-python/pygtk-1.99.14
	>=x11-libs/gtk+-2
	oggvorbis? ( 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
}