homebrew-core/Formula/fastbit.rb

21 lines
609 B
Ruby
Raw Normal View History

require 'formula'
class Fastbit < Formula
homepage 'https://sdm.lbl.gov/fastbit/'
2013-11-13 05:41:49 +00:00
url 'https://codeforge.lbl.gov/frs/download.php/409/fastbit-ibis1.3.8.tar.gz'
sha1 '3e0feed7932d34be49ca41fdb689f55b0466a28a'
2013-11-16 07:43:19 +00:00
conflicts_with 'iniparser', :because => 'Both install `include/dictionary.h`'
2013-11-13 06:18:03 +00:00
conflicts_with 'salt', :because => 'Both install `include/filter.h`'
2013-11-13 05:42:35 +00:00
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
def test
system "#{bin}/fastbit-config", "--version"
end
end