aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libssh.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/libssh.rb')
-rw-r--r--Library/Formula/libssh.rb17
1 files changed, 17 insertions, 0 deletions
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