aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/cgdb.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/Library/Formula/cgdb.rb b/Library/Formula/cgdb.rb
index 5a8bd1480..96aa3dc23 100644
--- a/Library/Formula/cgdb.rb
+++ b/Library/Formula/cgdb.rb
@@ -11,9 +11,19 @@ class Cgdb < Formula
sha1 "3e2bdb1a3bf2e11741df63c3d13069c844208a2c" => :lion
end
+ head do
+ url "https://github.com/cgdb/cgdb.git"
+
+ depends_on "autoconf" => :build
+ depends_on "automake" => :build
+ depends_on "help2man" => :build
+ end
+
depends_on "readline"
def install
+ system "sh", "autogen.sh" if build.head?
+
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--with-readline=#{Formula['readline'].opt_prefix}"