2386d4728c
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
18 lines
479 B
Ruby
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
|