diff options
| author | Gregory Pakosz | 2014-08-08 20:48:32 +0200 |
|---|---|---|
| committer | Jack Nagel | 2014-08-12 16:27:47 -0500 |
| commit | 2095d309118a08ce07c09f0c43ac8630d027af83 (patch) | |
| tree | 8e9545168fd16269ea19bf4dc396bfe8515965b5 /Library/Formula | |
| parent | e57be6f7bd920217a14b25aa7926591cdddd0a91 (diff) | |
| download | homebrew-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.rb | 10 |
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}" |
