homebrew-core/Formula/vcftools.rb
Lance Parsons 616561d230 vcftools 0.1.10
Closes Homebrew/homebrew#16505.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-12-10 15:07:05 -06:00

22 lines
618 B
Ruby

require 'formula'
class Vcftools < Formula
homepage 'http://vcftools.sourceforge.net/index.html'
url 'http://downloads.sourceforge.net/project/vcftools/vcftools_0.1.10.tar.gz'
sha1 'a41cf3b13b574fde60e4d713f083b53e223ace55'
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