2012-02-17 16:46:47 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Mrfast < Formula
|
|
|
|
homepage 'http://mrfast.sourceforge.net/'
|
2012-08-02 03:21:11 +00:00
|
|
|
url 'http://sourceforge.net/projects/mrfast/files/mrfast/mrfast-2.1.0.6.tar.gz'
|
|
|
|
sha1 '13e9ac030052f3930f7d2db1174070a2f2e29dbd'
|
2012-02-17 16:46:47 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "make", "CC=#{ENV.cc}", "CFLAGS=-c #{ENV.cflags}"
|
|
|
|
bin.install 'mrfast'
|
|
|
|
end
|
|
|
|
|
|
|
|
def test
|
|
|
|
actual = `#{bin}/mrfast -h`.split("\n").first
|
|
|
|
expect = "mrFAST : Micro-Read Fast Alignment Search Tool."
|
|
|
|
expect.eql? actual
|
|
|
|
end
|
|
|
|
end
|