/[gentoo-x86]/app-shells/pdsh/pdsh-2.18.ebuild
Gentoo

Contents of /app-shells/pdsh/pdsh-2.18.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu Apr 22 17:08:14 2010 UTC (9 years, 9 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
amd64 stable and punt vulnerable versions
(Portage version: 2.2_rc67/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-shells/pdsh/pdsh-2.18.ebuild,v 1.2 2009/04/16 22:27:34 mr_bones_ Exp $
4
5 inherit eutils
6
7 DESCRIPTION="A high-performance, parallel remote shell utility."
8 HOMEPAGE="https://computing.llnl.gov/linux/pdsh.html"
9 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
10 LICENSE="GPL-2"
11 SLOT="0"
12 KEYWORDS="~amd64 ~x86"
13 IUSE="crypt readline rsh"
14 RDEPEND="crypt? ( net-misc/openssh )
15 rsh? ( net-misc/netkit-rsh )
16 readline? ( sys-libs/readline )"
17 DEPEND="${RDEPEND}"
18
19 # Feel free to debug the test suite. Running the tests
20 # by hand instead of using pdsh.exp seems to print out
21 # what is expected, so the error is most likely in the
22 # testsuite itself.
23 # You'll also need dev-util/dejagnu
24 RESTRICT="test"
25
26 pkg_setup() {
27 local m
28 local valid_modules=":xcpu:ssh:exec:qshell:genders:nodeupdown:mrsh:mqshell:dshgroups:netgroup:"
29
30 PDSH_MODULE_LIST="${PDSH_MODULE_LIST:-netgroup}"
31 MODULE_CONFIG=""
32 for m in ${PDSH_MODULE_LIST}; do
33 if [[ "${valid_modules}" == *:${m}:* ]]; then
34 MODULE_CONFIG="${MODULE_CONFIG} --with-${m}"
35 fi
36 done
37
38 elog "Building ${PF} with the following modules:"
39 elog " ${PDSH_MODULE_LIST}"
40 elog "This list can be changed in /etc/make.conf by setting"
41 elog "PDSH_MODULE_LIST=\"module1 module2...\""
42 }
43
44 src_compile() {
45 econf ${MODULE_CONFIG} \
46 --with-machines \
47 $(use_with crypt ssh) \
48 $(use_with rsh) \
49 $(use_with readline) \
50 || die "configure failed"
51
52 emake || die "make failed"
53 }
54
55 src_install() {
56 emake DESTDIR="${D}" install || die "emake install failed"
57 }

  ViewVC Help
Powered by ViewVC 1.1.20