2014-09-22 01:08:23 +00:00
|
|
|
require "formula"
|
2012-12-25 19:45:29 +00:00
|
|
|
|
|
|
|
class Bashdb < Formula
|
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"
|
|
|
|
sha1 "e84841e51ebf6b1727d31c94722ef55c6b0a26af"
|
|
|
|
version "4.3-0.91"
|
2012-12-25 19:45:29 +00:00
|
|
|
|
2014-09-22 01:08:23 +00:00
|
|
|
depends_on "bash"
|
|
|
|
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}"
|
|
|
|
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/bashdb", "--version"
|
|
|
|
end
|
|
|
|
end
|