forked from ahmadia/homebrew-science
-
Notifications
You must be signed in to change notification settings - Fork 0
/
poa.rb
30 lines (26 loc) · 1.05 KB
/
poa.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 Poa < Formula
homepage "https://sourceforge.net/projects/poamsa/"
# doi "10.1093/bioinformatics/18.3.452"
# tag "bioinformatics"
url "https://downloads.sourceforge.net/project/poamsa/poamsa/2.0/poaV2.tar.gz"
version "2.0"
sha256 "d98d8251af558f442d909a6527694825ef6f79881b7636cad4925792559092c2"
bottle do
cellar :any
sha256 "ec70c14a392872c08ff2fd60e454dc05d76eb6edbd49ba8e8a011a6fce5c91b4" => :yosemite
sha256 "223fd7362babcb755d3eedd60efde918351b8a304579ee50aa43f2d5734240e5" => :mavericks
sha256 "fec2b793c9313bb5a373f38b7cc30906030bbc6bb7b111a659220153e874e39b" => :mountain_lion
sha256 "5196342069489bf53bb7eb983b98f17e3d425084cfe859d9a4e7c42abe73b0f2" => :x86_64_linux
end
def install
system "make", "poa"
bin.install "poa", "make_pscores.pl"
doc.install "README"
lib.install "liblpo.a"
prefix.install "blosum80.mat", "blosum80_trunc.mat", "multidom.pscore", "multidom.seq"
(include/"poa").install Dir["*.h"]
end
test do
assert_match "poa", shell_output("#{bin}/poa 2>&1", 255)
end
end