summaryrefslogtreecommitdiff
blob: a8585cf0a2bbdcd155849040f2081fc8924bcdf9 (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-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils multilib

DESCRIPTION="GTK Bittorrent Client"
HOMEPAGE="http://deluge-torrent.org/"
SRC_URI="http://deluge.mynimalistic.net/downloads/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="dev-python/python-libtorrent"
DEPEND="${RDEPEND}"

S=${WORKDIR}/${PN}-0.3

src_install() {
	dodir /usr/$(get_libdir)/${PN}
	insinto /usr/$(get_libdir)/${PN}
	doins -r *.py glade pixmaps po
	dodoc ChangeLog README
	dobin ${FILESDIR}/deluge

	newicon pixmaps/deluge-32.png deluge.png
	make_wrapper ${PN} "/usr/bin/python /usr/$(get_libdir)/${PN}/deluge.py"
	make_desktop_entry ${PN} deluge
}