2012-12-12 15:22:44 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Mpssh < Formula
|
|
|
|
homepage 'https://github.com/ndenev/mpssh'
|
2013-01-09 23:45:50 +00:00
|
|
|
url 'https://github.com/ndenev/mpssh/archive/1.3.1.tar.gz'
|
|
|
|
sha1 'c9ae08c1449962a0585e9cbf5e6174581912a053'
|
2012-12-12 15:22:44 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "make", "CC=#{ENV.cc}"
|
|
|
|
bin.install "mpssh"
|
|
|
|
man1.install "mpssh.man" => "mpssh.1"
|
|
|
|
end
|
|
|
|
|
2014-02-23 21:31:41 +00:00
|
|
|
test do
|
2012-12-12 15:22:44 +00:00
|
|
|
system "#{bin}/mpssh"
|
|
|
|
end
|
|
|
|
end
|