aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorGregory Pakosz2014-08-08 20:48:32 +0200
committerJack Nagel2014-08-12 16:27:47 -0500
commit2095d309118a08ce07c09f0c43ac8630d027af83 (patch)
tree8e9545168fd16269ea19bf4dc396bfe8515965b5 /Library/Formula
parente57be6f7bd920217a14b25aa7926591cdddd0a91 (diff)
downloadhomebrew-2095d309118a08ce07c09f0c43ac8630d027af83.tar.bz2
cgdb: add head option
Closes #31454. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
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}"