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.26.tar.gz"
sha256 "9b8ff43beec7b6e327179477b800a9c7ce98a010bbf59ba41fc2d7da9869586d"
head "https://github.com/bedops/bedops.git"
bottle do
cellar :any_skip_relocation
sha256 "56abd732c581a0df4d7d7d6a77a750d7854faf7d33e2f094366168b90b889045" => :sierra
sha256 "6407907c45ceac100d4b1f8602eeb5c04256da6457aabb7e5d07f6c9b0f232ab" => :el_capitan
sha256 "f322516ade8f9cfc8cb1b34b6335ea2c3eafbe8161ee319499beb97b13df8d39" => :yosemite
sha256 "4c149f523f7368a6fa3b2d5f8c218b0dd8878b9f7275aadaacbbc5a417ac606a" => :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