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