Skip to content

Instantly share code, notes, and snippets.

@leehambley
Created May 9, 2011 20:50
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 leehambley/963366 to your computer and use it in GitHub Desktop.
Save leehambley/963366 to your computer and use it in GitHub Desktop.
WIP Homebrew formula for LibSSH, currently uses an RC of libssh.
require 'formula'
class Libssh <Formula
url 'http://www.libssh.org/files/rc/libssh-0.4.91.tar.gz'
homepage 'http://www.libssh.org/'
md5 'cc5b22c26d8326224ba20920c53f8fe5'
depends_on "glib"
depends_on 'cmake'
depends_on 'openssl'
def install
system "mkdir -p build"
system "cd build && cmake -DCMAKE_INSTALL_PREFIX=#{prefix} .."
system "cd build && make install"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment