blob: 708250dbefd71548916bf7727b9553989d4a394c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
  | 
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
    revision 1
    sha1 "77561b594fe158e8ce1d9abf8e4aac2534008438" => :mavericks
    sha1 "09c45c7ad01aba94465be34c390ca6547a92ef88" => :mountain_lion
    sha1 "12f1f78301ce481c34eed2abca5c79d11798dd1d" => :lion
  end
  depends_on "openssl"
  def install
    system "./configure", "--prefix=#{prefix}",
                          "--disable-debug",
                          "--disable-dependency-tracking",
                          "--with-openssl",
                          "--with-libssl-prefix=#{Formula['openssl'].opt_prefix}",
                          "--with-libz"
    system "make install"
  end
end
  |