aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2009-09-30 14:54:25 -0700
committerMax Howell2009-10-01 15:17:30 +0100
commitbff873274852c85653e33d852378f173a9ce063a (patch)
treec19a5efa759765c0bc59a0872f7a702e8c3ce520 /Library/Formula
parent19b110ef28f077d9852aee4f3e6769b822fa88f4 (diff)
downloadhomebrew-bff873274852c85653e33d852378f173a9ce063a.tar.bz2
Formula for libssh2.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libssh2.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/libssh2.rb b/Library/Formula/libssh2.rb
new file mode 100644
index 000000000..ec7f6a4cb
--- /dev/null
+++ b/Library/Formula/libssh2.rb
@@ -0,0 +1,16 @@
+require 'brewkit'
+
+class Libssh2 <Formula
+ url 'http://www.libssh2.org/download/libssh2-1.2.1.tar.gz'
+ homepage 'http://www.libssh2.org/'
+ md5 '4ee0197947a3b8a4472328c346e1a0e4'
+
+ def install
+ system "./configure", "--prefix=#{prefix}",
+ "--disable-debug",
+ "--disable-dependency-tracking",
+ "--with-openssl",
+ "--with-libz"
+ system "make install"
+ end
+end