forked from ahmadia/homebrew-science
-
Notifications
You must be signed in to change notification settings - Fork 1
/
bcalm.rb
34 lines (28 loc) · 1.02 KB
/
bcalm.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 Bcalm < Formula
desc "de Bruijn graph compaction in low memory"
homepage "https://github.com/GATB/bcalm"
# doi "10.1093/bioinformatics/btw279"
# tag "bioinformatics"
url "https://github.com/GATB/bcalm/releases/download/v2.0.0/bcalm-2.0.0.zip"
sha256 "6d1d1d8b3339fff7cd0ec04b954a30e49138c1470efbcbcbf7b7e91f3c5b6d18"
head "https://github.com/GATB/bcalm.git"
bottle do
sha256 "8dd755580072b0300c2c7c5fb1220c87c00f2d6c0267c9f0e435f8529c7c50d1" => :el_capitan
sha256 "615881b3cf75e5411969cfd0aa04de7fe12c077e5945c3f5eee18e7c8ebe49b4" => :yosemite
sha256 "f5a5a290258b96961aecbcda585cb6fffbee76791d12a566fd98b9c8d302fa93" => :mavericks
sha256 "3959eb47b21409e0e2e9e21115bf0b0bb5552382afbe78a9b7f2791a037fcdbe" => :x86_64_linux
end
depends_on "cmake" => :build
def install
mkdir "build" do
system "cmake", "..", *std_cmake_args
system "make"
bin.install "bcalm", "bglue"
end
doc.install "README.md"
end
test do
system bin/"bcalm"
system bin/"bglue"
end
end