homebrew-core/Formula/mpssh.rb
Ted Pennings 4cd0935be7 Convert all 'def test' formulae to 'test do'
Closes Homebrew/homebrew#26942.
Closes Homebrew/homebrew#26946.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-02-24 19:54:02 -08:00

17 lines
365 B
Ruby

require 'formula'
class Mpssh < Formula
homepage 'https://github.com/ndenev/mpssh'
url 'https://github.com/ndenev/mpssh/archive/1.3.1.tar.gz'
sha1 'c9ae08c1449962a0585e9cbf5e6174581912a053'
def install
system "make", "CC=#{ENV.cc}"
bin.install "mpssh"
man1.install "mpssh.man" => "mpssh.1"
end
test do
system "#{bin}/mpssh"
end
end