| 1 |
# Copyright 1999-2011 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/arm/arm-1.4.2.3.ebuild,v 1.1 2011/05/15 13:39:38 blueness Exp $ |
| 4 |
|
| 5 |
EAPI="3" |
| 6 |
PYTHON_DEPEND="2:2.5" |
| 7 |
PYTHON_USE_WITH="ncurses" |
| 8 |
|
| 9 |
inherit python distutils |
| 10 |
|
| 11 |
DESCRIPTION="A ncurses-based status monitor for Tor relays" |
| 12 |
HOMEPAGE="http://www.atagar.com/arm/" |
| 13 |
SRC_URI="http://www.atagar.com/arm/resources/static/${P}.tar.bz2" |
| 14 |
|
| 15 |
LICENSE="GPL-3" |
| 16 |
SLOT="0" |
| 17 |
KEYWORDS="~amd64 ~x86" |
| 18 |
IUSE="" |
| 19 |
|
| 20 |
DEPEND=">=net-misc/tor-0.2.1.27" |
| 21 |
RDEPEND="${DEPEND}" |
| 22 |
|
| 23 |
S="${WORKDIR}/${PN}" |
| 24 |
|
| 25 |
pkg_setup() { |
| 26 |
python_set_active_version 2 |
| 27 |
python_pkg_setup |
| 28 |
} |
| 29 |
|
| 30 |
src_install() { |
| 31 |
distutils_src_install --docPath "${EPREFIX}"/usr/share/doc/${PF} |
| 32 |
} |
| 33 |
|
| 34 |
pkg_postinst() { |
| 35 |
elog "Some graphing data issues have been noted in testing" |
| 36 |
elog "when run as root. It is not recommended to run arm as" |
| 37 |
elog "root until those issues have been isolated and fixed." |
| 38 |
elog |
| 39 |
elog "Trouble with graphs under app-misc/screen? Try:" |
| 40 |
elog 'TERM="rxvt-unicode" arm' |
| 41 |
} |