2011-12-01 06:06:44 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Libssh < Formula
|
|
|
|
homepage 'http://www.libssh.org/'
|
2013-07-29 09:32:25 +00:00
|
|
|
url 'https://red.libssh.org/attachments/download/51/libssh-0.5.5.tar.gz'
|
|
|
|
sha1 'e701476ec43f85178bdb36fbb58aa45417a38f5e'
|
2011-12-01 06:06:44 +00:00
|
|
|
|
|
|
|
depends_on 'cmake' => :build
|
|
|
|
|
|
|
|
def install
|
2012-02-22 04:48:36 +00:00
|
|
|
mkdir 'build' do
|
2012-05-22 21:37:04 +00:00
|
|
|
system "cmake", "..", *std_cmake_args
|
2011-12-01 06:06:44 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|