homebrew-core/Formula/vcftools.rb
Lance Parsons e995b16933 vcftools 0.1.8
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-01-21 12:52:02 -08:00

22 lines
592 B
Ruby

require 'formula'
class Vcftools < Formula
url 'http://downloads.sourceforge.net/project/vcftools/vcftools_0.1.8.tar.gz'
homepage 'http://vcftools.sourceforge.net/index.html'
md5 '9895d3f30f2dac1eb01dd774557384de'
def install
system "make install PREFIX=#{prefix} CPP=#{ENV.cxx}"
end
def test
system "vcftools"
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
end