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

class Libssh2 < Formula
  homepage 'http://www.libssh2.org/'
  url 'http://www.libssh2.org/download/libssh2-1.4.3.tar.gz'
  sha1 'c27ca83e1ffeeac03be98b6eef54448701e044b0'

  bottle do
    cellar :any
    sha1 "521d10a3fee016c550a520777b863170814deefd" => :mavericks
    sha1 "c070043e006da160d36f8fd9ff6dabe757181c40" => :mountain_lion
    sha1 "0e7776c9e56b639013d8a50cdc932d8a3f81a150" => :lion
  end

  def install
    system "./configure", "--prefix=#{prefix}",
                          "--disable-debug",
                          "--disable-dependency-tracking",
                          "--with-openssl",
                          "--with-libz"
    system "make install"
  end
end