homebrew-core/Formula/vcftools.rb

23 lines
609 B
Ruby
Raw Normal View History

require 'formula'
class Vcftools < Formula
homepage 'http://vcftools.sourceforge.net/index.html'
2012-02-10 04:43:09 +00:00
url 'http://downloads.sourceforge.net/project/vcftools/vcftools_0.1.8a.tar.gz'
md5 'a4ec90c7583dd11bdc20a5f78a5a7857'
def install
2012-02-10 04:43:09 +00:00
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
2012-02-10 04:43:09 +00:00
def test
system "#{bin}/vcftools"
end
end