Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 340219
Collapse All | Expand All

(-)pdsh/pdsh-2.18-r1.ebuild (-19 / +9 lines)
Lines 1-29 Link Here
1
# Copyright 1999-2010 Gentoo Foundation
1
# Copyright 1999-2010 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/app-shells/pdsh/pdsh-2.18-r1.ebuild,v 1.3 2010/04/22 17:08:14 ssuominen Exp $
3
# $Header: $
4
4
5
EAPI="2"
5
EAPI="2"
6
6
7
inherit eutils autotools
8
9
DESCRIPTION="A high-performance, parallel remote shell utility."
7
DESCRIPTION="A high-performance, parallel remote shell utility."
10
HOMEPAGE="https://computing.llnl.gov/linux/pdsh.html"
8
HOMEPAGE="https://computing.llnl.gov/linux/pdsh.html"
11
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
9
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
10
12
LICENSE="GPL-2"
11
LICENSE="GPL-2"
13
SLOT="0"
12
SLOT="0"
14
KEYWORDS="amd64 x86"
13
KEYWORDS="~amd64 ~x86"
15
IUSE="crypt readline rsh"
14
IUSE="crypt readline rsh static-libs test"
15
16
RDEPEND="crypt? ( net-misc/openssh )
16
RDEPEND="crypt? ( net-misc/openssh )
17
	rsh? ( net-misc/netkit-rsh )
17
	rsh? ( net-misc/netkit-rsh )
18
	readline? ( sys-libs/readline )"
18
	readline? ( sys-libs/readline )"
19
DEPEND="${RDEPEND}"
19
DEPEND="${RDEPEND}
20
20
	test? ( dev-util/dejagnu )"
21
# Feel free to debug the test suite.  Running the tests
22
# by hand instead of using pdsh.exp seems to print out
23
# what is expected, so the error is most likely in the
24
# testsuite itself.
25
# You'll also need dev-util/dejagnu
26
RESTRICT="test"
27
21
28
pkg_setup() {
22
pkg_setup() {
29
	local m
23
	local m
Lines 43-60 Link Here
43
	elog "PDSH_MODULE_LIST=\"module1 module2...\""
37
	elog "PDSH_MODULE_LIST=\"module1 module2...\""
44
}
38
}
45
39
46
src_prepare() {
47
	epatch "${FILESDIR}"/pdsh-2.18-unbundle-libtool.patch
48
	eautoreconf
49
}
50
51
src_configure() {
40
src_configure() {
52
	econf ${MODULE_CONFIG} \
41
	econf ${MODULE_CONFIG} \
53
		--with-machines \
42
		--with-machines \
43
		--enable-shared \
54
		$(use_with crypt ssh) \
44
		$(use_with crypt ssh) \
55
		$(use_with rsh) \
45
		$(use_with rsh) \
56
		$(use_with readline) \
46
		$(use_with readline) \
57
		|| die "configure failed"
47
		$(use_enable static-libs static)
58
}
48
}
59
49
60
src_install() {
50
src_install() {

Return to bug 340219