samtools 0.1.18

Install tools in misc/ to bin.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
master
Carlos Borroto 2011-09-05 10:53:39 -04:00 committed by Jack Nagel
parent 0a09a0db07
commit 352c8fd1c2
1 changed files with 7 additions and 6 deletions

View File

@ -1,9 +1,9 @@
require 'formula'
class Samtools < Formula
url 'http://sourceforge.net/projects/samtools/files/samtools/0.1.17/samtools-0.1.17.tar.bz2'
url 'http://sourceforge.net/projects/samtools/files/samtools/0.1.18/samtools-0.1.18.tar.bz2'
homepage 'http://samtools.sourceforge.net/'
md5 '9549f7a6bba894766df9c3dd18d61f0b'
md5 '71dab132e21c0766f0de84c2371a9157'
head 'https://samtools.svn.sourceforge.net/svnroot/samtools/trunk/samtools'
def install
@ -11,11 +11,12 @@ class Samtools < Formula
system "make razip"
system "cd bcftools; make"
bin.install %w{samtools razip bcftools/bcftools}
(share+'samtools').install %w{examples misc}
(share+'samtools/misc').install %w{bcftools/vcfutils.pl}
bin.install %w{samtools razip bcftools/bcftools bcftools/vcfutils.pl}
bin.install %w{misc/maq2sam-long misc/maq2sam-short misc/md5fa misc/md5sum-lite misc/seqtk misc/wgsim}
bin.install Dir['misc/*.pl']
lib.install 'libbam.a'
(include+'bam').install Dir['*.h']
man1.install %w{samtools.1}
(share+'samtools').install %w{examples}
(include+'bam').install Dir['*.h']
end
end