2012-12-25 19:45:29 +00:00
|
|
|
class Bashdb < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Bash shell debugger"
|
2014-09-22 01:08:23 +00:00
|
|
|
homepage "http://bashdb.sourceforge.net"
|
2016-10-30 00:50:08 +00:00
|
|
|
url "https://downloads.sourceforge.net/project/bashdb/bashdb/4.4-0.92/bashdb-4.4-0.92.tar.bz2"
|
|
|
|
version "4.4-0.92"
|
|
|
|
sha256 "6a8c2655e04339b954731a0cb0d9910e2878e45b2fc08fe469b93e4f2dbaaf92"
|
2012-12-25 19:45:29 +00:00
|
|
|
|
2015-10-07 05:43:03 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any_skip_relocation
|
2016-10-30 00:53:15 +00:00
|
|
|
sha256 "36ab7e6dbffac6255d2a395581da8b9db1e0490abf2bc7c939c44429211313a4" => :sierra
|
|
|
|
sha256 "36ab7e6dbffac6255d2a395581da8b9db1e0490abf2bc7c939c44429211313a4" => :el_capitan
|
|
|
|
sha256 "36ab7e6dbffac6255d2a395581da8b9db1e0490abf2bc7c939c44429211313a4" => :yosemite
|
2015-10-07 05:43:03 +00:00
|
|
|
end
|
|
|
|
|
2014-09-22 01:08:23 +00:00
|
|
|
depends_on "bash"
|
2016-09-24 15:45:48 +00:00
|
|
|
depends_on :macos => :mountain_lion
|
2012-12-25 19:45:29 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--with-bash=#{HOMEBREW_PREFIX}/bin/bash",
|
|
|
|
"--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
|
2015-08-03 12:55:31 +00:00
|
|
|
system "make", "install"
|
2012-12-25 19:45:29 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
2016-10-30 00:50:08 +00:00
|
|
|
assert_match version.to_s, pipe_output("#{bin}/bashdb --version 2>&1")
|
2012-12-25 19:45:29 +00:00
|
|
|
end
|
|
|
|
end
|