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"
|
2015-01-02 01:07:31 +00:00
|
|
|
url "https://downloads.sourceforge.net/project/bashdb/bashdb/4.3-0.91/bashdb-4.3-0.91.tar.bz2"
|
|
|
|
version "4.3-0.91"
|
2015-10-05 12:03:06 +00:00
|
|
|
sha256 "60117745813f29070a034c590c9d70153cc47f47024ae54bfecdc8cd86d9e3ea"
|
2012-12-25 19:45:29 +00:00
|
|
|
|
2015-10-07 05:43:03 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any_skip_relocation
|
|
|
|
sha256 "acaeaec58a610b8ee53f3ef1ebbee800991b1790a50bf38f6496e4c3e07a8a40" => :el_capitan
|
|
|
|
sha256 "407d84f8f4e34a1f9accaf6a5cb74c50028b97009842c592b969020e5a04630e" => :yosemite
|
|
|
|
sha256 "f715486224a5d5625b9cc5645235e7f977fce749254dbde3254028b2700d8860" => :mavericks
|
|
|
|
end
|
|
|
|
|
2014-09-22 01:08:23 +00:00
|
|
|
depends_on "bash"
|
2016-09-18 14:18:50 +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
|
|
|
|
system "#{bin}/bashdb", "--version"
|
|
|
|
end
|
|
|
|
end
|