2009-10-15 08:07:12 +00:00
|
|
|
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/'
|
2013-01-05 19:44:25 +00:00
|
|
|
url 'http://www.libssh2.org/download/libssh2-1.4.3.tar.gz'
|
|
|
|
sha1 'c27ca83e1ffeeac03be98b6eef54448701e044b0'
|
2009-09-30 21:54:25 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--prefix=#{prefix}",
|
|
|
|
"--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
"--with-openssl",
|
|
|
|
"--with-libz"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|