2010-08-19 01:11:16 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Cgdb < Formula
|
2013-04-07 02:34:41 +00:00
|
|
|
homepage 'http://cgdb.github.io/'
|
2013-01-17 05:21:13 +00:00
|
|
|
url 'http://cgdb.me/files/cgdb-0.6.7.tar.gz'
|
|
|
|
sha1 '5e29e306502888dd660a9dd55418e5c190ac75bb'
|
2010-08-19 01:11:16 +00:00
|
|
|
|
2012-11-11 03:12:26 +00:00
|
|
|
depends_on 'readline'
|
2010-08-19 01:11:16 +00:00
|
|
|
|
|
|
|
# man page for cgdb is only there to point people to the info page where all
|
|
|
|
# of the actual documentation is, so skip cleaning the info to preserve the
|
|
|
|
# documentation
|
|
|
|
skip_clean 'share/info'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
2014-02-25 05:09:31 +00:00
|
|
|
"--with-readline=#{Formula['readline'].opt_prefix}"
|
2010-08-19 01:11:16 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|