2010-08-19 01:11:16 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Cgdb < Formula
|
2010-08-19 01:11:16 +00:00
|
|
|
homepage 'http://cgdb.sourceforge.net/'
|
2012-02-26 05:11:27 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/cgdb/cgdb/cgdb-0.6.6/cgdb-0.6.6.tar.gz'
|
|
|
|
sha1 'bf1d9a66909a03220438a4126bb39850bdbfea65'
|
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}",
|
|
|
|
"--with-readline=#{Formula.factory('readline').prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|