forked from ahmadia/homebrew-science
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sailfish.rb
30 lines (26 loc) · 788 Bytes
/
sailfish.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
class Sailfish < Formula
desc "Rapid mapping-based RNA-Seq isoform quantification"
homepage "https://www.cs.cmu.edu/~ckingsf/software/sailfish"
# doi "10.1038/nbt.2862"
# tag "bioinformatics"
url "https://github.com/kingsfordgroup/sailfish/archive/v0.10.1.tar.gz"
sha256 "a0d6d944382f2e07ffbfd0371132588e2f22bb846ecfc3d3435ff3d81b30d6c6"
revision 2
bottle :disable, "needs to be rebuilt with latest boost"
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "boost"
depends_on "cmake" => :build
depends_on "tbb"
needs :cxx11
def install
ENV.deparallelize
mkdir "build" do
system "cmake", "..", *std_cmake_args
system "make", "install"
end
end
test do
system "#{bin}/sailfish", "--version"
end
end