New formula: mrfast 2.1.0.3
Closes Homebrew/homebrew#10275. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
d1208237d8
commit
1ab62510c3
1 changed files with 18 additions and 0 deletions
18
Formula/mrfast.rb
Normal file
18
Formula/mrfast.rb
Normal file
|
@ -0,0 +1,18 @@
|
|||
require 'formula'
|
||||
|
||||
class Mrfast < Formula
|
||||
homepage 'http://mrfast.sourceforge.net/'
|
||||
url 'http://downloads.sourceforge.net/project/mrfast/mrfast/mrfast-2.1.0.3.tar.gz'
|
||||
md5 '32dfbfae84852ed7847fec0155cb55aa'
|
||||
|
||||
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
|
Loading…
Reference in a new issue