summaryrefslogtreecommitdiff
blob: 18e664db2eb4be3fe6ef658c57b7f5e48e06d26f (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-misc/tork/tork-0.08.ebuild,v 1.1 2006/09/23 01:14:36 flameeyes Exp $

inherit kde

DESCRIPTION="A Tor controller for the KDE desktop"
HOMEPAGE="http://tork.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"

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

DEPEND=""
RDEPEND="net-misc/tor
	dev-libs/openssl
	>=dev-libs/geoip-1.4.0
	>=net-proxy/privoxy-3.0.3-r5"

need-kde 3.5

PATCHES="${FILESDIR}/${P}-geoip.patch
	${FILESDIR}/${P}-crash.patch"

src_unpack() {
	kde_src_unpack
	rm -rf "${S}/src/GeoIP-1.4.0" "${S}/configure"
}

src_install() {
	kde_src_install
	rm -rf "${D}/usr/share/applnk"

	echo "Categories=Qt;KDE;Network;" >> "${D}/usr/share/applications/kde/tork.desktop"
}