homebrew-core/Formula/paml.rb
Jack Nagel 2386d4728c paml 4.5
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-11 00:36:48 -06:00

18 lines
479 B
Ruby

require 'formula'
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