Skip to content

Instantly share code, notes, and snippets.

@fia5000
Last active July 13, 2016 03:43
Show Gist options
  • Select an option

  • Save fia5000/00f6aabc433b757e8df724be6ea32d16 to your computer and use it in GitHub Desktop.

Select an option

Save fia5000/00f6aabc433b757e8df724be6ea32d16 to your computer and use it in GitHub Desktop.
require 'formula'
class Sshpass < Formula
url 'http://pkgs.fedoraproject.org/repo/pkgs/sshpass/sshpass-1.05.tar.gz/c52d65fdee0712af6f77eb2b60974ac7/sshpass-1.05.tar.gz'
homepage 'http://sourceforge.net/projects/sshpass'
sha256 'c3f78752a68a0c3f62efb3332cceea0c8a1f04f7cf6b46e00ec0c3000bc8483e'
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