aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pdsh.rb
blob: 184796b61cf34f3c4014793b47c6c776eb87974b (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
  homepage 'https://computing.llnl.gov/linux/pdsh.html'
  url 'http://sourceforge.net/projects/pdsh/files/pdsh/pdsh-2.26/pdsh-2.26.tar.bz2'
  sha1 'bdcec89760b93bd12107d8a785ca2710853cde75'

  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