2011-02-28 17:30:22 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Samtools < Formula
|
2011-04-22 16:36:32 +00:00
|
|
|
url 'http://sourceforge.net/projects/samtools/files/samtools/0.1.16/samtools-0.1.16.tar.bz2'
|
2011-02-28 17:30:22 +00:00
|
|
|
homepage 'http://samtools.sourceforge.net/'
|
2011-04-22 16:36:32 +00:00
|
|
|
md5 'ae26c63a783f95a45ddf8a109c9d9a5d'
|
|
|
|
head 'https://samtools.svn.sourceforge.net/svnroot/samtools/trunk/samtools'
|
2011-02-28 17:30:22 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "make"
|
|
|
|
system "make razip"
|
|
|
|
|
|
|
|
bin.install %w{samtools razip}
|
2011-04-22 16:36:32 +00:00
|
|
|
(share+'samtools').install %w{examples misc}
|
2011-02-28 17:30:22 +00:00
|
|
|
lib.install 'libbam.a'
|
|
|
|
(include+'bam').install Dir['*.h']
|
2011-03-22 15:07:12 +00:00
|
|
|
man1.install 'samtools.1'
|
2011-02-28 17:30:22 +00:00
|
|
|
end
|
|
|
|
end
|