vcftools 0.1.8a
This commit is contained in:
parent
0f38481c01
commit
3c031a556e
2 changed files with 8 additions and 8 deletions
|
@ -1,16 +1,12 @@
|
||||||
require 'formula'
|
require 'formula'
|
||||||
|
|
||||||
class Vcftools < Formula
|
class Vcftools < Formula
|
||||||
url 'http://downloads.sourceforge.net/project/vcftools/vcftools_0.1.8.tar.gz'
|
|
||||||
homepage 'http://vcftools.sourceforge.net/index.html'
|
homepage 'http://vcftools.sourceforge.net/index.html'
|
||||||
md5 '9895d3f30f2dac1eb01dd774557384de'
|
url 'http://downloads.sourceforge.net/project/vcftools/vcftools_0.1.8a.tar.gz'
|
||||||
|
md5 'a4ec90c7583dd11bdc20a5f78a5a7857'
|
||||||
|
|
||||||
def install
|
def install
|
||||||
system "make install PREFIX=#{prefix} CPP=#{ENV.cxx}"
|
system "make", "install", "PREFIX=#{prefix}", "CPP=#{ENV.cxx}"
|
||||||
end
|
|
||||||
|
|
||||||
def test
|
|
||||||
system "vcftools"
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def caveats; <<-EOS.undent
|
def caveats; <<-EOS.undent
|
||||||
|
@ -19,4 +15,8 @@ class Vcftools < Formula
|
||||||
export PERL5LIB=#{HOMEBREW_PREFIX}/lib/perl5/site_perl:${PERL5LIB}
|
export PERL5LIB=#{HOMEBREW_PREFIX}/lib/perl5/site_perl:${PERL5LIB}
|
||||||
EOS
|
EOS
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def test
|
||||||
|
system "#{bin}/vcftools"
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -13,6 +13,6 @@ class Velvet < Formula
|
||||||
s.change_make_var! "CFLAGS", "-Wall -m64"
|
s.change_make_var! "CFLAGS", "-Wall -m64"
|
||||||
end
|
end
|
||||||
system "make velveth velvetg OPENMP=1 MAXKMERLENGTH=1 LONGSEQUENCES=1"
|
system "make velveth velvetg OPENMP=1 MAXKMERLENGTH=1 LONGSEQUENCES=1"
|
||||||
bin.install ['velveth', 'velvetg']
|
bin.install 'velveth', 'velvetg'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue