Skip to content

Instantly share code, notes, and snippets.

@nisargshah95
Created June 2, 2021 02:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nisargshah95/58fd24b47e0ed0448e309f081a0cc44e to your computer and use it in GitHub Desktop.
Save nisargshah95/58fd24b47e0ed0448e309f081a0cc44e to your computer and use it in GitHub Desktop.
require 'formula'
class Sshpass < Formula
url 'http://sourceforge.net/projects/sshpass/files/sshpass/1.09/sshpass-1.09.tar.gz'
homepage 'http://sourceforge.net/projects/sshpass'
sha256 '71746e5e057ffe9b00b44ac40453bf47091930cba96bbea8dc48717dedc49fb7'
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