homebrew-core/Formula/cgdb.rb

33 lines
865 B
Ruby
Raw Normal View History

2014-07-20 20:14:18 +00:00
require "formula"
2011-03-10 05:11:03 +00:00
class Cgdb < Formula
2014-07-20 20:14:18 +00:00
homepage "http://cgdb.github.io/"
url "http://cgdb.me/files/cgdb-0.6.7.tar.gz"
sha1 "5e29e306502888dd660a9dd55418e5c190ac75bb"
2014-07-20 20:14:18 +00:00
bottle do
sha1 "97d618f51a59e82d00e9957e545cbf8c55430919" => :mavericks
sha1 "4d54ccc422b20a5d5a2bb426dab38ed6f0fbb357" => :mountain_lion
sha1 "3e2bdb1a3bf2e11741df63c3d13069c844208a2c" => :lion
2014-07-20 20:14:18 +00:00
end
head do
url "https://github.com/cgdb/cgdb.git"
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "help2man" => :build
end
2014-07-20 20:14:18 +00:00
depends_on "readline"
def install
system "sh", "autogen.sh" if build.head?
2014-07-20 20:14:18 +00:00
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
2014-02-25 05:09:31 +00:00
"--with-readline=#{Formula['readline'].opt_prefix}"
system "make install"
end
end