summaryrefslogtreecommitdiff
path: root/net-misc/vidalia/vidalia-0.9999.ebuild
blob: 34dd3bfa6c764c836d191f869cd61989b12990da (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/vidalia/vidalia-0.1.7.ebuild,v 1.1 2008/08/11 23:11:29 yngwin Exp $

EAPI="1"
inherit eutils qt4 cmake-utils subversion
# cmake-utils needs to be last, so we get its src_compile()

DESCRIPTION="Qt 4 front-end for Tor"
HOMEPAGE="http://www.vidalia-project.net/"
SRC_URI=""

ESVN_REPO_URI="https://svn.vidalia-project.net/svn/vidalia/trunk/"
ESVN_STORE_DIR="${DISTDIR}/svn-src"
ESVN_PROJECT="${PN/-svn}"


LICENSE="|| ( GPL-3 GPL-2 ) openssl"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="debug"

DEPEND="|| ( x11-libs/qt-gui:4 =x11-libs/qt-4* )
	dev-util/cmake"
RDEPEND="|| ( x11-libs/qt-gui:4 =x11-libs/qt-4* )
	net-misc/tor"
	
src_unpack(){
	subversion_src_unpack
}

use debug && QT4_BUILT_WITH_USE_CHECK="debug"

DOCS="CHANGELOG CREDITS README"

pkg_postinst() {
	echo
	ewarn "To have vidalia starting tor, you probably have to copy"
	ewarn "/etc/tor/torrc.sample to the users ~/.tor/torrc and comment"
	ewarn "the settings there and change the socks. Also, in vidalia"
	ewarn "change the default user under which tor will run."
	echo
}