diff options
| author | Jason Wells | 2011-11-30 23:06:44 -0700 |
|---|---|---|
| committer | Jack Nagel | 2012-01-31 18:46:43 -0600 |
| commit | 2fd0ac52ee706ff89f6634f7de0e55ec99b775a3 (patch) | |
| tree | b2610412ecb796ddc2eaa0ebdf8fe1607adaf5e5 /Library | |
| parent | dde7901b94d93bdbbc86355d508f1ecd3e7116ef (diff) | |
| download | homebrew-2fd0ac52ee706ff89f6634f7de0e55ec99b775a3.tar.bz2 | |
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 <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/libssh.rb | 17 |
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 |
