forked from ahmadia/homebrew-science
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsmalt.rb
34 lines (29 loc) · 1.24 KB
/
smalt.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
31
32
33
34
class Smalt < Formula
desc "Aligns DNA sequencing reads with a reference genome"
homepage "https://www.sanger.ac.uk/science/tools/smalt-0"
# tag "bioinformatics"
url "https://downloads.sourceforge.net/project/smalt/smalt-0.7.6.tar.gz"
sha256 "89ccdfe471edba3577b43de9ebfdaedb5cd6e26b02bf4000c554253433796b31"
revision 1
bottle do
cellar :any_skip_relocation
sha256 "40f0219a724800d75095d5fa9493ce11c710ea8ad69190bbaf3e3aeced4df7eb" => :sierra
sha256 "e3116e41fa4f33637c9dcf5305cf94e3f3e236d5d5636fd3b76dab1b29bdd914" => :el_capitan
sha256 "78168b0c7f00afbabbdfc782308e80a6396cdec58a648b98d9a1bb236ca509a3" => :yosemite
sha256 "2f89e72d483b039dd6096a801e86e999062999541a0fe3a0e0f6c42744ee657f" => :mavericks
sha256 "cf4d6fafd3e3e06bf8348abed79e1ba424bf892e2c1f4ba398a14b44b037ca1a" => :x86_64_linux
end
resource "manual" do
url "https://downloads.sourceforge.net/project/smalt/smalt_manual.pdf"
sha256 "efd52e8429237b27797027477c33e1071f6247616d7705106af256e48307480a"
end
def install
system "./configure", "--prefix=#{prefix}"
system "make"
system "make", "install"
doc.install resource("manual")
end
test do
assert_match version.to_s, shell_output("#{bin}/smalt version")
end
end