homebrew-core/Formula/bali-phy.rb

27 lines
705 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class BaliPhy < Formula
homepage 'http://www.biomath.ucla.edu/msuchard/bali-phy/'
url 'http://www.biomath.ucla.edu/msuchard/bali-phy/bali-phy-2.1.1.tar.gz'
sha1 'e72073a1c5b05c797668e476bfd8517594f074e6'
depends_on 'gsl'
fails_with :clang do
build 318
cause <<-EOS.undent
io.H:25:31: error: use of undeclared identifier 'push_back'
void operator()(const T& t){push_back(t);}
EOS
end
def install
2012-02-22 04:48:36 +00:00
mkdir 'macbuild' do
system "../configure", "--disable-debug", "--disable-dependency-tracking",
2012-02-22 04:48:36 +00:00
"--prefix=#{prefix}",
"--enable-cairo"
system "make install"
end
end
end