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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Aug 10 07:28:54 2011 UTC (8 years, 6 months ago) by ultrabug
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump, drop old wrt #356031, fix #378565

(Portage version: 2.1.10.9/cvs/Linux x86_64)

1 # Copyright 1999-2010 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.22.ebuild,v 1.1 2010/10/09 19:51:46 radhermit Exp $
4
5 EAPI="2"
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
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64 ~x86"
14 IUSE="crypt readline rsh static-libs test"
15
16 RDEPEND="crypt? ( net-misc/openssh )
17 rsh? ( net-misc/netkit-rsh )
18 readline? ( sys-libs/readline )"
19 DEPEND="${RDEPEND}
20 test? ( dev-util/dejagnu )"
21
22 pkg_setup() {
23 local m
24 local valid_modules=":xcpu:ssh:exec:qshell:genders:nodeupdown:mrsh:mqshell:dshgroups:netgroup:"
25
26 PDSH_MODULE_LIST="${PDSH_MODULE_LIST:-netgroup}"
27 MODULE_CONFIG=""
28 for m in ${PDSH_MODULE_LIST}; do
29 if [[ "${valid_modules}" == *:${m}:* ]]; then
30 MODULE_CONFIG="${MODULE_CONFIG} --with-${m}"
31 fi
32 done
33
34 elog "Building ${PF} with the following modules:"
35 elog " ${PDSH_MODULE_LIST}"
36 elog "This list can be changed in /etc/make.conf by setting"
37 elog "PDSH_MODULE_LIST=\"module1 module2...\""
38 }
39
40 src_configure() {
41 econf ${MODULE_CONFIG} \
42 --with-machines \
43 --enable-shared \
44 $(use_with crypt ssh) \
45 $(use_with rsh) \
46 $(use_with readline) \
47 $(use_enable static-libs static)
48 }
49
50 src_install() {
51 emake DESTDIR="${D}" install || die "emake install failed"
52 }

  ViewVC Help
Powered by ViewVC 1.1.20