2011-12-01 06:06:44 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Libssh < Formula
|
|
|
|
homepage 'http://www.libssh.org/'
|
2012-02-22 04:48:36 +00:00
|
|
|
url 'http://www.libssh.org/files/0.5/libssh-0.5.2.tar.gz'
|
2011-12-01 06:06:44 +00:00
|
|
|
md5 '38b67c48af7a9204660a3e08f97ceba6'
|
|
|
|
|
|
|
|
depends_on 'cmake' => :build
|
|
|
|
|
|
|
|
def install
|
2012-02-22 04:48:36 +00:00
|
|
|
mkdir 'build' do
|
|
|
|
system "cmake #{std_cmake_parameters} .."
|
2011-12-01 06:06:44 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|