summaryrefslogtreecommitdiff
blob: d10ec88d461eadce1325f4edbeed910a7b7f1e9a (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-p2p/nicotine+/nicotine+-1.2.10.ebuild,v 1.5 2009/07/19 16:02:17 darkside Exp $

inherit distutils multilib toolchain-funcs

DESCRIPTION="A fork of nicotine, a Soulseek client in Python"
HOMEPAGE="http://nicotine-plus.sourceforge.net"
SRC_URI="http://www.nicotine-plus.org/files/${P}.tar.bz2"

LICENSE="GPL-3 LGPL-3"
SLOT="0"
KEYWORDS="amd64 ppc x86 ~x86-fbsd"
IUSE="geoip spell vorbis"

RDEPEND="virtual/python
	>=dev-python/pygtk-2.10
	vorbis? ( >=dev-python/pyvorbis-1.4-r3
			  >=dev-python/pyogg-1 )
	geoip? ( >=dev-python/geoip-python-0.2.0
			 >=dev-libs/geoip-1.2.1 )
	spell? ( dev-python/sexy-python )
	!net-p2p/nicotine"

DEPEND="${RDEPEND}"

src_install() {
	distutils_python_version
	distutils_src_install \
		--install-lib /usr/$(get_libdir)/python${PYVER}/site-packages
}