forked from ahmadia/homebrew-science
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbedops.rb
More file actions
39 lines (32 loc) · 1.02 KB
/
Copy pathbedops.rb
File metadata and controls
39 lines (32 loc) · 1.02 KB
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
class Bedops < Formula
homepage 'https://github.com/bedops/bedops'
#doi "10.1093/bioinformatics/bts277"
#tag "bioinformatics"
url "https://github.com/bedops/bedops/archive/v2.4.12.tar.gz"
sha1 "51c6621b15fe159d73ea71019d982b6402f68e80"
head 'https://github.com/bedops/bedops.git'
bottle do
root_url "https://homebrew.bintray.com/bottles-science"
cellar :any
sha256 "6cc75b37079619bf5db8293b1963308dca814b30e86d914e364e5c702cd0de55" => :yosemite
sha256 "6e8cccfcb3b4a84fbeace9f63daf691c0dae635afbf0017c1b9dae1961c226a2" => :mavericks
sha256 "996564dabc7e246a7f66932a019fd0697dfdf2d48ae8b12e269b2ed4296b4f6d" => :mountain_lion
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