/[gentoo-x86]/net-misc/vidalia/vidalia-0.0.12.ebuild
Gentoo

Contents of /net-misc/vidalia/vidalia-0.0.12.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Aug 29 17:21:17 2007 UTC (7 years ago) by humpback
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
removing old version
(Portage version: 2.1.3.7)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/vidalia/vidalia-0.0.12.ebuild,v 1.2 2007/08/19 16:06:12 humpback Exp $
4
5 inherit eutils
6
7 DESCRIPTION="Qt 4 front-end for Tor"
8 HOMEPAGE="http://www.vidalia-project.net/"
9 SRC_URI="http://www.vidalia-project.net/dist/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
14 IUSE="debug"
15
16 DEPEND=">=x11-libs/qt-4.1.1"
17 RDEPEND="${DEPEND}
18 >=net-misc/tor-0.1.1.20
19 <=net-misc/tor-0.1.2.15"
20
21 pkg_setup() {
22 if use debug && ! built_with_use ">=x11-libs/qt-4.1.1" debug; then
23 eerror "In order to have debug support for Vidalia"
24 eerror "you need to compile Qt 4 with debug support too."
25 die "Qt 4 built without debug support"
26 fi
27 }
28
29 src_compile() {
30 econf $(use_enable debug) || die "econf failed"
31 emake || die "emake failed"
32 }
33
34 src_install() {
35 emake INSTALL_ROOT="${D}" install || die "emake install failed"
36 }
37
38 pkg_postinst() {
39 ewarn "To have vidalia starting tor, you probably have to copy
40 /etc/tor/torrc.sample to the users \$HOME/.tor/torrc and comment the settings
41 there and change the socks. Also in vidalia change the default user under
42 which tor will run"
43 }

  ViewVC Help
Powered by ViewVC 1.1.20