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