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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Aug 19 14:29:51 2006 UTC (8 years, 1 month ago) by dertobi123
Branch: MAIN
Changes since 1.1: +2 -2 lines
Added ~ppc, bug #143929
(Portage version: 2.1.1_pre4-r4)

1 # Copyright 1999-2006 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.7.ebuild,v 1.1 2006/07/08 13:30:41 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 ~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
20 pkg_setup() {
21 if use debug && ! built_with_use ">=x11-libs/qt-4.1.1" debug; then
22 eerror "In order to have debug support for Vidalia"
23 eerror "you need to compile Qt 4 with debug support too."
24 die "Qt 4 built without debug support"
25 fi
26 }
27
28 src_compile() {
29 econf $(use_enable debug) || die "econf failed"
30 emake || die "emake failed"
31 }
32
33 src_install() {
34 emake INSTALL_ROOT="${D}" install || die "emake install failed"
35 }
36
37 pkg_postinst() {
38 ewarn "To have vidalia starting tor you probably have to copy
39 /etc/torr/torrc.sample to the users HOME/.tor/torrc and comment the settings
40 there and change the socks. Also in vidalia change the default user under
41 wich tor will run"
42 }

  ViewVC Help
Powered by ViewVC 1.1.20