homebrew-core/Formula/libssh2.rb

28 lines
830 B
Ruby
Raw Normal View History

require 'formula'
2009-09-30 21:54:25 +00:00
2011-03-10 05:11:03 +00:00
class Libssh2 < Formula
2009-09-30 21:54:25 +00:00
homepage 'http://www.libssh2.org/'
url 'http://www.libssh2.org/download/libssh2-1.4.3.tar.gz'
sha1 'c27ca83e1ffeeac03be98b6eef54448701e044b0'
revision 1
2009-09-30 21:54:25 +00:00
2014-02-24 16:45:09 +00:00
bottle do
2014-03-20 03:33:14 +00:00
cellar :any
2014-04-09 11:00:24 +00:00
sha1 "ae30a9b7c36d826f05a67a8023df0c2189c9f836" => :mavericks
sha1 "423d1b21b9bedde5483b735238034a404db7dcf6" => :mountain_lion
sha1 "5b65dc7202920021fe0359116e08c77e75e861b9" => :lion
2014-02-24 16:45:09 +00:00
end
depends_on "openssl"
2009-09-30 21:54:25 +00:00
def install
system "./configure", "--prefix=#{prefix}",
"--disable-debug",
"--disable-dependency-tracking",
"--with-openssl",
"--with-libssl-prefix=#{Formula['openssl'].opt_prefix}",
2009-09-30 21:54:25 +00:00
"--with-libz"
system "make install"
end
end