aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libssh.rb
blob: fcb0f425362dd140c0a5a9070b9a6182bd84bd27 (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.2.tar.gz'
  sha1 '4bf36d4052bd0c948e05bbf3b0cd0da8684ac00e'

  depends_on 'cmake' => :build

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