aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMisty De Meo2014-08-15 21:09:12 -0700
committerMisty De Meo2014-08-15 21:09:12 -0700
commit1aaa4f052d56e025467179fe4c109ce1196f7445 (patch)
treef6f9b5ed8515c290daa51b1dbde08a87a9574b93
parentc8ab495a99116d459a5761425d97a542474c16fa (diff)
downloadhomebrew-1aaa4f052d56e025467179fe4c109ce1196f7445.tar.bz2
libssh2: add extra HEAD dependencies
-rw-r--r--Library/Formula/libssh2.rb9
1 files changed, 8 insertions, 1 deletions
diff --git a/Library/Formula/libssh2.rb b/Library/Formula/libssh2.rb
index eb7110fc8..71637da60 100644
--- a/Library/Formula/libssh2.rb
+++ b/Library/Formula/libssh2.rb
@@ -6,7 +6,13 @@ class Libssh2 < Formula
sha1 "c27ca83e1ffeeac03be98b6eef54448701e044b0"
revision 1
- head "git://git.libssh2.org/libssh2.git"
+ head do
+ url "git://git.libssh2.org/libssh2.git"
+
+ depends_on "autoconf" => :build
+ depends_on "automake" => :build
+ depends_on "libtool" => :build
+ end
bottle do
cellar :any
@@ -18,6 +24,7 @@ class Libssh2 < Formula
depends_on "openssl"
def install
+ system "./buildconf" if build.head?
system "./configure", "--prefix=#{prefix}",
"--disable-debug",
"--disable-dependency-tracking",