blob: 3a97c725d14a13e511ec49fcc1ae3331b24246f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
require 'formula'
class Vcftools < Formula
homepage 'http://vcftools.sourceforge.net/index.html'
url 'http://downloads.sourceforge.net/project/vcftools/vcftools_0.1.9.tar.gz'
md5 '57f3b8d7ecb26a12559595851607f023'
def install
system "make", "install", "PREFIX=#{prefix}", "CPP=#{ENV.cxx}"
end
def caveats; <<-EOS.undent
To use the Perl modules, make sure Vcf.pm, VcfStats.pm, and FaSlice.pm
are included in your PERL5LIB environment variable:
export PERL5LIB=#{HOMEBREW_PREFIX}/lib/perl5/site_perl:${PERL5LIB}
EOS
end
def test
system "#{bin}/vcftools"
end
end
|