aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libssh.rb
blob: 21b13d39995022cfd9f28c9db4566bdd07dbaf22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require 'formula'

class Libssh < Formula
  homepage 'http://www.libssh.org/'
  url 'http://www.libssh.org/files/0.5/libssh-0.5.3.tar.gz'
  sha1 '63f5f9e7d8b8e936048a51998a6f9be0e86866a7'

  depends_on 'cmake' => :build

  def install
    mkdir 'build' do
      system "cmake", "..", *std_cmake_args
      system "make install"
    end
  end
end