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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Sun Aug 10 18:22:03 2014 UTC (5 years, 6 months ago) by slyfox
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -3 lines
QA: drop trailing '.' from DESCRIPTION

(Portage version: 2.2.11_p9/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)

1 slyfox 1.2 # Copyright 1999-2014 Gentoo Foundation
2 ultrabug 1.1 # Distributed under the terms of the GNU General Public License v2
3 slyfox 1.2 # $Header: /var/cvsroot/gentoo-x86/app-shells/pdsh/pdsh-2.26.ebuild,v 1.1 2011/08/10 07:28:54 ultrabug Exp $
4 ultrabug 1.1
5     EAPI="2"
6    
7 slyfox 1.2 DESCRIPTION="A high-performance, parallel remote shell utility"
8 ultrabug 1.1 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