aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pdsh.rb
blob: f674e3d7fe9b94a2dd9e0d5b03a4cc0cc25c8e41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require 'formula'

class Pdsh < Formula
  url 'http://downloads.sourceforge.net/project/pdsh/pdsh/pdsh-2.18/pdsh-2.18.tar.bz2'
  homepage 'https://computing.llnl.gov/linux/pdsh.html'
  md5 'ff5dc11f25ce9c7474e71aafb5d293e8'

  depends_on 'readline'

  # don't strip binaries
  skip_clean ['bin', 'lib']

  def install
    system "./configure", "--prefix=#{prefix}", "--with-ssh", "--without-rsh",
                          "--with-dshgroups", "--with-nodeupdown",
                          "--with-readline", "--without-xcpu", "--mandir=#{man}"
    system "make install"
  end
end