homebrew-core/Formula/paml.rb

19 lines
479 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Paml < Formula
homepage 'http://abacus.gene.ucl.ac.uk/software/paml.html'
url 'http://abacus.gene.ucl.ac.uk/software/paml4.5.tgz'
md5 'c87ddcf7e993496be30760ecd542113d'
def install
cd 'src' do
system "make", "CC=#{ENV.cc}", "CFLAGS=#{ENV.cflags}"
bin.install %w[baseml basemlg codeml pamp evolver yn00 chi2]
end
(share+'paml').install 'dat'
(share+'paml').install Dir['*.ctl']
doc.install Dir['doc/*']
end
end