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
|
2011-10-14 12:04:55 +00:00
|
|
|
url 'http://www.libssh2.org/download/libssh2-1.3.0.tar.gz'
|
2009-09-30 21:54:25 +00:00
|
|
|
homepage 'http://www.libssh2.org/'
|
2011-05-29 18:39:32 +00:00
|
|
|
md5 '1b236563b75d1b1f0d483352dc5918cf'
|
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
|