37 lines
1,020 B
Ruby
37 lines
1,020 B
Ruby
class Pdsh < Formula
|
|
desc "Efficient rsh-like utility, for using hosts in parallel"
|
|
homepage "https://github.com/chaos/pdsh"
|
|
url "https://github.com/chaos/pdsh/releases/download/pdsh-2.34/pdsh-2.34.tar.gz"
|
|
sha256 "b47b3e4662736ef44b6fe86e3d380f95e591863e69163aa0592e9f9f618521e9"
|
|
head "https://github.com/chaos/pdsh.git"
|
|
|
|
bottle do
|
|
sha256 "db103afd01523d00761df3c077b309ffeaa7e816a538ab9b739fac7b58a8171b" => :catalina
|
|
sha256 "d5ce164360edacbda30b059e8964fc6e4c886adc5f63218a37667756419ef51a" => :mojave
|
|
sha256 "4063ea4d575eef74e2af6993a74658df6c48e42b81df8a77a49aee745c7527a0" => :high_sierra
|
|
end
|
|
|
|
depends_on "readline"
|
|
|
|
def install
|
|
args = %W[
|
|
--prefix=#{prefix}
|
|
--mandir=#{man}
|
|
--with-nodeupdown
|
|
--with-readline
|
|
--with-ssh
|
|
--with-dshgroups
|
|
--with-netgroup
|
|
--with-slurm
|
|
--without-rsh
|
|
--without-xcpu
|
|
]
|
|
|
|
system "./configure", *args
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/pdsh", "-V"
|
|
end
|
|
end
|