aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/fastbit.rb
blob: 785a5549f34282ede3528ff5ea94b8323ece593b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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`'

  def install
    system "./configure", "--disable-debug", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
  end

  test do
    system "#{bin}/fastbit-config", "--version"
  end
end