aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libssh.rb
blob: f5ad79e5b8e31ead85ac9e18c6fb692212c6db14 (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://git.libssh.org/projects/libssh.git/snapshot/libssh-0.6.0.tar.gz'
  sha1 'c6cf887020bf8499992c4533f11c2bdd3c08d10c'

  depends_on 'cmake' => :build

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