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/'
|
2012-05-19 19:34:55 +00:00
|
|
|
url 'http://www.libssh2.org/download/libssh2-1.4.2.tar.gz'
|
|
|
|
sha1 '7fc084254dabe14a9bc90fa3d569faa7ee943e19'
|
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
|