Skip to content

Instantly share code, notes, and snippets.

@liamg
Created March 18, 2019 16:47
Show Gist options
  • Save liamg/0b6662a4facae46b2ac9dfc67939771e to your computer and use it in GitHub Desktop.
Save liamg/0b6662a4facae46b2ac9dfc67939771e to your computer and use it in GitHub Desktop.
require 'formula'
class Sshpass < Formula
desc ""
homepage ""
url "https://sourceforge.net/projects/sshpass/files/sshpass/1.06/sshpass-1.06.tar.gz"
sha256 "c6324fcee608b99a58f9870157dfa754837f8c48be3df0f5e2f3accf145dee60"
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install" # if this fails, try separate make/make install steps
end
test do
system "sshpass"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment