aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/paml.rb
diff options
context:
space:
mode:
authorBen Blackburne2010-01-26 07:55:19 +0000
committerAdam Vandenberg2010-08-24 09:50:19 -0700
commitc6a8f36b0970a88cf806f5af9e4663665e94fdb8 (patch)
tree092b68f5f167c295aedb915c89c9ea22b7e39490 /Library/Formula/paml.rb
parentbdf93f95a76f1cb197d67fd8c514af92369d53d4 (diff)
downloadhomebrew-c6a8f36b0970a88cf806f5af9e4663665e94fdb8.tar.bz2
Paml 4.4c
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/paml.rb')
-rw-r--r--Library/Formula/paml.rb23
1 files changed, 23 insertions, 0 deletions
diff --git a/Library/Formula/paml.rb b/Library/Formula/paml.rb
new file mode 100644
index 000000000..592364b16
--- /dev/null
+++ b/Library/Formula/paml.rb
@@ -0,0 +1,23 @@
+require 'formula'
+
+# Phylogenetic Analysis by Maximum Likelihood
+class Paml <Formula
+ url 'http://abacus.gene.ucl.ac.uk/software/paml4.4c.tar.gz'
+ homepage 'http://abacus.gene.ucl.ac.uk/software/paml.html'
+ md5 '0ab0b722bc28c15b22554ec68576b09f'
+ version '4.4c'
+
+ def install
+ Dir.chdir 'src' do
+ inreplace "Makefile" do |s|
+ s.change_make_var! 'CFLAGS', ENV.cflags
+ end
+ system "make"
+ 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