From 2fd0ac52ee706ff89f6634f7de0e55ec99b775a3 Mon Sep 17 00:00:00 2001 From: Jason Wells Date: Wed, 30 Nov 2011 23:06:44 -0700 Subject: New formula: libssh Closes #8909. [jn: use std_cmake_parameters, style. Note that this is a separate project from libssh2.] Signed-off-by: Jack Nagel --- Library/Formula/libssh.rb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Library/Formula/libssh.rb (limited to 'Library/Formula/libssh.rb') diff --git a/Library/Formula/libssh.rb b/Library/Formula/libssh.rb new file mode 100644 index 000000000..99b77ed99 --- /dev/null +++ b/Library/Formula/libssh.rb @@ -0,0 +1,17 @@ +require 'formula' + +class Libssh < Formula + url 'http://www.libssh.org/files/0.5/libssh-0.5.2.tar.gz' + homepage 'http://www.libssh.org/' + md5 '38b67c48af7a9204660a3e08f97ceba6' + + depends_on 'cmake' => :build + + def install + mkdir 'build' + cd 'build' do + system "cmake .. #{std_cmake_parameters}" + system "make install" + end + end +end -- cgit v1.2.3