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

class Libssh < Formula
  homepage 'http://www.libssh.org/'
  url 'https://red.libssh.org/attachments/download/87/libssh-0.6.3.tar.xz'
  sha1 '8189255e0f684d36b7ca62739fa0cd5f1030a467'

  bottle do
    sha1 "93da24a19a5f85ea291968e63fee5a138f4cf6c5" => :mavericks
    sha1 "340b484d2f8dd4958155aee6241efd2182776927" => :mountain_lion
    sha1 "8da4783403ab7b48b4c714ade666cd7d3bce0610" => :lion
  end

  depends_on 'cmake' => :build

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