2010-01-26 07:55:19 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Paml < Formula
|
2010-01-26 07:55:19 +00:00
|
|
|
homepage 'http://abacus.gene.ucl.ac.uk/software/paml.html'
|
2012-09-04 00:57:04 +00:00
|
|
|
url 'http://abacus.gene.ucl.ac.uk/software/paml4.6.tgz'
|
|
|
|
sha1 '2d12d50695a0d6d324781e75594783e250fbb795'
|
2010-01-26 07:55:19 +00:00
|
|
|
|
|
|
|
def install
|
2012-02-11 06:35:51 +00:00
|
|
|
cd 'src' do
|
|
|
|
system "make", "CC=#{ENV.cc}", "CFLAGS=#{ENV.cflags}"
|
2010-01-26 07:55:19 +00:00
|
|
|
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
|