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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Sun Jun 15 18:52:27 2008 UTC (11 years, 8 months ago) by swegener
Branch: MAIN
Changes since 1.4: +11 -1 lines
Add compability patches for gcc-4.3 and glibc-2.8.
(Portage version: 2.1.5.5)

1 opfer 1.2 # Copyright 1999-2008 Gentoo Foundation
2 swegener 1.1 # Distributed under the terms of the GNU General Public License v2
3 swegener 1.5 # $Header: /var/cvsroot/gentoo-x86/app-shells/pdsh/pdsh-2.14.ebuild,v 1.4 2008/03/14 12:18:01 caleb Exp $
4    
5     inherit eutils
6 swegener 1.1
7     DESCRIPTION="A high-performance, parallel remote shell utility."
8 jsbronder 1.3 HOMEPAGE="https://computing.llnl.gov/linux/pdsh.html"
9 swegener 1.1 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
10     LICENSE="GPL-2"
11     SLOT="0"
12 caleb 1.4 KEYWORDS="amd64 x86"
13 swegener 1.1 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 swegener 1.5 src_unpack() {
20     unpack ${A}
21     cd "${S}"
22    
23     epatch "${FILESDIR}"/${P}-gcc-4.3-unistd.h.patch
24     epatch "${FILESDIR}"/${P}-glibc-2.8-ARG_MAX.patch
25     }
26    
27 swegener 1.1 src_compile() {
28     econf \
29     --with-machines \
30     $(use_with crypt ssh) \
31     $(use_with rsh) \
32     $(use_with readline) \
33     || die "configure failed"
34    
35     emake || die "make failed"
36     }
37    
38     src_install() {
39     emake DESTDIR="${D}" install || die "emake install failed"
40     }

  ViewVC Help
Powered by ViewVC 1.1.20