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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Thu Aug 9 12:53:06 2012 UTC (23 months, 2 weeks ago) by blueness
Branch: MAIN
Changes since 1.1: +5 -1 lines
Fix to compile with gcc-4.7.1, bug #422645, thanks Jason A. Donenfeld

(Portage version: 2.1.10.65/cvs/Linux x86_64)

1 blueness 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 blueness 1.2 # $Header: /var/cvsroot/gentoo-x86/net-misc/vidalia/vidalia-0.3.1.ebuild,v 1.1 2012/03/27 15:28:42 blueness Exp $
4 blueness 1.1
5     EAPI="4"
6    
7     # cmake-utils needs to be last, so we get its src_compile()
8     inherit eutils qt4-r2 cmake-utils
9    
10     DESCRIPTION="Qt 4 front-end for Tor"
11     HOMEPAGE="https://www.torproject.org/projects/vidalia.html.en"
12     SRC_URI="https://www.torproject.org/dist/${PN}/${P}.tar.gz"
13    
14     LICENSE="|| ( GPL-3 GPL-2 ) openssl"
15     SLOT="0"
16     KEYWORDS="~amd64 ~ppc ~x86"
17     IUSE="debug +tor"
18    
19     DEPEND="x11-libs/qt-gui:4[debug?]"
20     RDEPEND="${DEPEND}
21     tor? ( net-misc/tor )"
22    
23     DOCS="CHANGELOG CREDITS README"
24    
25 blueness 1.2 src_prepare() {
26     epatch "${FILESDIR}"/${PN}-0.3.1-gcc-4.7.patch
27     }
28    
29 blueness 1.1 pkg_postinst() {
30     ewarn
31     if use tor; then
32     ewarn "To have vidalia starting tor, you probably have to copy"
33     ewarn "/etc/tor/torrc.sample to the users ~/.tor/torrc and comment"
34     ewarn "the settings there and change the socks. Also, in vidalia"
35     ewarn "change the default user under which tor will run."
36     else
37     ewarn "You have disabled tor USE flag, which means you need to "
38     ewarn "configure tor on a different host."
39     fi
40     ewarn
41     }

  ViewVC Help
Powered by ViewVC 1.1.20