aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mpssh.rb
blob: d7fc890d625d2ec7b0b7f1c709cf373b645b05e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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