forked from ahmadia/homebrew-science
-
Notifications
You must be signed in to change notification settings - Fork 0
/
analysis.rb
31 lines (26 loc) · 926 Bytes
/
analysis.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 Analysis < Formula
desc "Programs for the (pre-NGS-era) analysis of population-genetic data."
homepage "https://github.com/molpopgen/analysis"
url "https://github.com/molpopgen/analysis/archive/0.8.8.tar.gz"
sha256 "f9ef9e0a90fce2c0f4fe462d6c05e22fef22df1c23b63a7c64ad7b538f6e8bb0"
revision 1
# tag "bioinformatics"
bottle do
cellar :any
sha256 "af40b85ef8127d3331f2ae094144c0809df5029677af0a011058f37987acd2c5" => :el_capitan
sha256 "283af443fdf89ac7de6653eb6f984283e7898089a0bcbe38323524998fcc1368" => :yosemite
sha256 "3d8fda086feb222987f4fd7febdfa737f6d99779fea36f1e007abfc5236cc2b4" => :mavericks
end
depends_on "gsl"
depends_on "libsequence"
needs :cxx11
def install
ENV.cxx11
system "./configure", "--prefix=#{prefix}"
system "make"
system "make", "install"
end
test do
assert_match "codon", shell_output("#{bin}/gestimator 2>&1", 1)
end
end