aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/pdsh.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/pdsh.rb b/Library/Formula/pdsh.rb
new file mode 100644
index 000000000..ca5025456
--- /dev/null
+++ b/Library/Formula/pdsh.rb
@@ -0,0 +1,19 @@
+require 'formula'
+
+class Pdsh <Formula
+ url 'http://softlayer.dl.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