homebrew-core/Formula/mafft.rb
Jack Nagel 0c89a5c8dd Remove redundant versions and update version tests
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-11 15:18:56 -05:00

27 lines
793 B
Ruby

require 'formula'
class Mafft < Formula
homepage 'http://mafft.cbrc.jp/alignment/software/index.html'
url 'http://align.bmr.kyushu-u.ac.jp/mafft/software/mafft-6.717-with-extensions-src.tgz'
md5 '2fc3acfce3a48f9804e8ca5e22bb984d'
def install
cd 'core' do
system "make", "CC=#{ENV.cc}",
"CFLAGS=#{ENV.cflags}",
"PREFIX=#{prefix}",
"MANDIR=#{man1}",
"install"
end
cd 'extensions' do
system "make", "CC=#{ENV.cc}",
"CXX=#{ENV.cxx}",
"CXXFLAGS=#{ENV.cxxflags}",
"CFLAGS=#{ENV.cflags}",
"PREFIX=#{prefix}",
"MANDIR=#{man1}",
"install"
end
end
end