forked from ahmadia/homebrew-science
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bioawk.rb
31 lines (26 loc) · 830 Bytes
/
bioawk.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
class Bioawk < Formula
homepage "https://github.com/lh3/bioawk"
# tag "bioinformatics"
version "5e8b41d"
url "https://github.com/lh3/bioawk/archive/#{version}.tar.gz"
sha1 "1042e98bfa6a8601488df1be29eb758b2359826d"
head "https://github.com/lh3/bioawk.git"
bottle do
root_url "https://downloads.sf.net/project/machomebrew/Bottles/science"
cellar :any
sha1 "ed7b2bcdf5420729429d7c30450250bd1fa4b4d6" => :yosemite
sha1 "7093a34c9ad55cd869aaa2973bd6777c239d6734" => :mavericks
sha1 "75262055989014fd83dd0023b8d3a44a1f2ad8ea" => :mountain_lion
end
depends_on "bison" => :build
def install
ENV.deparallelize
system "make"
bin.install "bioawk"
doc.install "README.md"
man1.install({"awk.1" => "bioawk.1"})
end
test do
system "#{bin}/bioawk", "--version"
end
end