forked from ahmadia/homebrew-science
-
Notifications
You must be signed in to change notification settings - Fork 0
/
clustal-w.rb
30 lines (25 loc) · 823 Bytes
/
clustal-w.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
class ClustalW < Formula
homepage "http://www.clustal.org/clustal2/"
#tag "bioinformatics"
#doi "10.1093/nar/22.22.4673"
url "http://www.clustal.org/download/2.1/clustalw-2.1.tar.gz"
sha1 "f29784f68585544baa77cbeca6392e533d4cf433"
bottle do
cellar :any
sha1 "60bf60642a075b54773032eca33594f01cd92a4c" => :yosemite
sha1 "38c7402db59638e80c44384c94106266bdb427e5" => :mavericks
sha1 "42f9faaf5f18d12dc7ac0aa269c36b580dbdfd24" => :mountain_lion
end
fails_with :clang do
build 600
cause "error: implicit instantiation of undefined template"
end
fails_with :gcc => "4.2"
def install
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make", "install"
end
test do
system "#{bin}/clustalw2 --version 2>&1 |grep CLUSTAL"
end
end