Skip to content

Instantly share code, notes, and snippets.

@rsanchez
Forked from stefanoverna/sshpass.rb
Last active August 29, 2015 14:05
Show Gist options
  • Save rsanchez/ed7ea7784f0013eb48ed to your computer and use it in GitHub Desktop.
Save rsanchez/ed7ea7784f0013eb48ed to your computer and use it in GitHub Desktop.
require 'formula'
class Sshpass < Formula
url 'http://downloads.sourceforge.net/project/sshpass/sshpass/1.05/sshpass-1.05.tar.gz'
homepage 'http://sshpass.sourceforge.net/'
md5 'c52d65fdee0712af6f77eb2b60974ac7'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
def test
system "sshpass"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment