forked from ahmadia/homebrew-science
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mapsembler2.rb
33 lines (28 loc) · 1.12 KB
/
mapsembler2.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
class Mapsembler2 < Formula
desc "targeted assembly software"
homepage "https://colibread.inria.fr/software/mapsembler2/"
url "https://www.irisa.fr/symbiose/people/ppeterlongo/mapsembler2_2.2.4.zip"
sha256 "e25f911ada8222ad982ebaf2c1a30e5c74b81edc3b7613879299e620e77b4ec7"
revision 1
# doi "10.1186/1471-2105-13-48"
# tag "bioinformatics"
bottle do
sha256 "742ca2dfb2e550d1d839f0542a3809b939ad381fd18e1de336ca86eaad71a36a" => :high_sierra
sha256 "87d29c6ce1f393616c1862c7effe4af85a749b33695e7c16c5ca3de5ac441580" => :sierra
sha256 "87e6addec277034fc54f47a4895a62ffd5bf29208805568063308b7906cc8bfb" => :el_capitan
sha256 "50882b30ad388b0fda3ccd9d0e37d389541227549468d0db240201560176df94" => :x86_64_linux
end
fails_with :clang do
build 703
cause "error: no member named 'malloc' in namespace 'std'"
end
depends_on "cmake" => :build
def install
system "./compile_all_tools.sh"
bin.install "run_mapsembler2_pipeline.sh", Dir["tools/*"]
doc.install "EXAMPLE.md", "LICENCE.md", "README.md", Dir["docs/*"]
end
test do
system "#{bin}/run_mapsembler2_pipeline.sh", "-h"
end
end