forked from ahmadia/homebrew-science
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbedops.rb
40 lines (33 loc) · 1.17 KB
/
bedops.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
35
36
37
38
39
40
class Bedops < Formula
desc "Set and statistical operations on genomic data of arbitrary scale"
homepage "https://github.com/bedops/bedops"
# doi "10.1093/bioinformatics/bts277"
# tag "bioinformatics"
url "https://github.com/bedops/bedops/archive/v2.4.25.tar.gz"
sha256 "e7056bb6d4b92162121527a3444d546a1bad8345e64a49e089bf4ec06476dd09"
head "https://github.com/bedops/bedops.git"
bottle do
cellar :any_skip_relocation
sha256 "ba4f2d77c3e1d8e1fb1a1916f579de3f3ace667fca60f7377d50180060a1aa9b" => :sierra
sha256 "20ac9e1970128d64907680d0db0a55d4ffb67dc66d51d52e73b326364be7bbca" => :el_capitan
sha256 "b345531c329ab1db042e4908b25f2d23ad66e67815c4adc22c0537ebd9804467" => :yosemite
sha256 "ae088089a4ebcdd2eb3582cbe2926dcdb7870ca05a32f7e80dc44ea7920a38f7" => :x86_64_linux
end
env :std
fails_with :gcc do
build 5666
cause "BEDOPS toolkit requires a C++11 compliant compiler"
end
def install
ENV.O3
ENV.delete("CFLAGS")
ENV.delete("CXXFLAGS")
system "make"
system "make", "install"
bin.install Dir["bin/*"]
doc.install %w[LICENSE README.md]
end
test do
system "#{bin}/bedops", "--version"
end
end