homebrew-core/Formula/mrfast.rb
Brett Koonce be02b34f74 mrfast 2.5.0.0
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-10-21 08:29:15 -07:00

18 lines
483 B
Ruby

require 'formula'
class Mrfast < Formula
homepage 'http://mrfast.sourceforge.net/'
url 'http://sourceforge.net/projects/mrfast/files/mrfast/mrfast-2.5.0.0.tar.gz'
sha1 'ef3445317f80dc4e2db7106d3dd3699498f7ec62'
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