forked from ahmadia/homebrew-science
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bedops.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.20.tar.gz"
sha256 "1c604b1a85d9acdf444f497e3a24c16e5b60df57d8699b0a8594ff2d6188a41a"
head "https://github.com/bedops/bedops.git"
bottle do
cellar :any_skip_relocation
sha256 "2ce3e942c119118bc12feb0e5f15a60bd2bca9fcc5c3f604bbaa35f7f3755647" => :el_capitan
sha256 "084b521cd3999f89e586d36493b14e5eb8678a0c9058a98814472becfc7f2064" => :yosemite
sha256 "f6097d30f3a5e1e4c51928a5406b4838aa48c1e7f172390afa32b2a7daa55777" => :mavericks
sha256 "b2ac4d2f11b5bfc4889381022b82af9ae1561740ac1e557670e7217672b4cdee" => :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