summaryrefslogtreecommitdiff
blob: 3cd77d7a1fc1635ce982c89a7f0716b9b36a923e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

DESCRIPTION="A collection of tools for executing commands on cluster nodes"
HOMEPAGE="http://clusterit.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86"
IUSE="X"

DEPEND="X? ( x11-libs/libX11 )"
RDEPEND="${DEPEND}
	!app-shells/dsh"

src_unpack() {
	unpack ${A}
	use X || sed -i '/^SUBDIRS =/ { s/dvt//; s/rvt// }' "${S}/Makefile.in"
}

src_install() {
	emake DESTDIR="${D}" install || die "Install failed"
	dodoc README CHANGES
}