/[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.3 - (hide annotations) (download)
Wed Oct 11 14:03:45 2006 UTC (7 years, 9 months ago) by humpback
Branch: MAIN
Changes since 1.2: +2 -2 lines
bump
(Portage version: 2.1.1-r1)

1 humpback 1.1 # Copyright 1999-2006 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 humpback 1.3 # $Header: /var/cvsroot/gentoo-x86/net-misc/vidalia/vidalia-0.0.7.ebuild,v 1.2 2006/08/19 14:29:51 dertobi123 Exp $
4 humpback 1.1
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 dertobi123 1.2 KEYWORDS="~amd64 ~ppc ~x86"
14 humpback 1.1 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 humpback 1.3 /etc/tor/torrc.sample to the users HOME/.tor/torrc and comment the settings
40 humpback 1.1 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