2011-03-10 05:11:03 +00:00
|
|
|
class Cgdb < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Curses-based interface to the GNU Debugger"
|
2015-01-14 02:51:25 +00:00
|
|
|
homepage "https://cgdb.github.io/"
|
|
|
|
url "http://cgdb.me/files/cgdb-0.6.8.tar.gz"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "be203e29be295097439ab67efe3dc8261f742c55ff3647718d67d52891f4cf41"
|
2010-08-19 01:11:16 +00:00
|
|
|
|
2014-07-20 20:14:18 +00:00
|
|
|
bottle do
|
2015-09-23 20:36:10 +00:00
|
|
|
sha256 "8d47a315bc04053f84802069723edf9ea920c7361464992c1a657f41db52f901" => :el_capitan
|
2015-11-19 15:45:31 +00:00
|
|
|
sha256 "b105849b8556fbe4badea662619525b3c0d5d3fd46738e3c7257e6250c7107dd" => :yosemite
|
|
|
|
sha256 "87938fedfd548c40fd567e07e0e277f71a5ca69218e741975bcbeb104a4108d8" => :mavericks
|
|
|
|
sha256 "218acd2aa10e805643898b5b04da0022b9b1e7186519493c80b26a14e13203ba" => :mountain_lion
|
2014-07-20 20:14:18 +00:00
|
|
|
end
|
2010-08-19 01:11:16 +00:00
|
|
|
|
2014-08-08 18:48:32 +00:00
|
|
|
head do
|
|
|
|
url "https://github.com/cgdb/cgdb.git"
|
|
|
|
|
|
|
|
depends_on "autoconf" => :build
|
|
|
|
depends_on "automake" => :build
|
|
|
|
end
|
|
|
|
|
2015-01-14 02:51:25 +00:00
|
|
|
depends_on "help2man" => :build
|
2014-07-20 20:14:18 +00:00
|
|
|
depends_on "readline"
|
2010-08-19 01:11:16 +00:00
|
|
|
|
|
|
|
def install
|
2014-08-08 18:48:32 +00:00
|
|
|
system "sh", "autogen.sh" if build.head?
|
2014-07-20 20:14:18 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
2010-08-19 01:11:16 +00:00
|
|
|
"--prefix=#{prefix}",
|
2015-08-03 12:55:31 +00:00
|
|
|
"--with-readline=#{Formula["readline"].opt_prefix}"
|
|
|
|
system "make", "install"
|
2010-08-19 01:11:16 +00:00
|
|
|
end
|
|
|
|
end
|