homebrew-core/Formula/fastbit.rb
Ted Pennings 4cd0935be7 Convert all 'def test' formulae to 'test do'
Closes Homebrew/homebrew#26942.
Closes Homebrew/homebrew#26946.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-02-24 19:54:02 -08:00

20 lines
608 B
Ruby

require 'formula'
class Fastbit < Formula
homepage 'https://sdm.lbl.gov/fastbit/'
url 'https://codeforge.lbl.gov/frs/download.php/409/fastbit-ibis1.3.8.tar.gz'
sha1 '3e0feed7932d34be49ca41fdb689f55b0466a28a'
conflicts_with 'iniparser', :because => 'Both install `include/dictionary.h`'
conflicts_with 'salt', :because => 'Both install `include/filter.h`'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
test do
system "#{bin}/fastbit-config", "--version"
end
end