Mafft multiple alignment tool
Signed-off-by: Adam Vandenberg <flangy@gmail.com>master
parent
55140bf070
commit
8e5b4132d7
|
@ -0,0 +1,20 @@
|
|||
require 'formula'
|
||||
|
||||
class Mafft <Formula
|
||||
url 'http://align.bmr.kyushu-u.ac.jp/mafft/software/mafft-6.717-with-extensions-src.tgz'
|
||||
homepage 'http://mafft.cbrc.jp/alignment/software/index.html'
|
||||
md5 '2fc3acfce3a48f9804e8ca5e22bb984d'
|
||||
version '6.717'
|
||||
|
||||
def install
|
||||
inreplace ["core/Makefile", "extensions/Makefile"] do |s|
|
||||
s.change_make_var! "CC", ENV.cc
|
||||
s.change_make_var! "CFLAGS", ENV.cflags
|
||||
s.change_make_var! "PREFIX", prefix
|
||||
s.change_make_var! "MANDIR", man1
|
||||
end
|
||||
|
||||
system "cd core/; make install"
|
||||
system "cd extensions; make install"
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue