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
|
2010-09-01 18:19:41 +00:00
|
|
|
url 'http://www.libssh2.org/download/libssh2-1.2.7.tar.gz'
|
2009-09-30 21:54:25 +00:00
|
|
|
homepage 'http://www.libssh2.org/'
|
2010-09-01 18:19:41 +00:00
|
|
|
md5 'a5d78344886f1282e4008c09bf568076'
|
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
|