From 1ab62510c375b6a5151b064b285b338e1106084a Mon Sep 17 00:00:00 2001 From: Lance Parsons Date: Fri, 17 Feb 2012 11:46:47 -0500 Subject: [PATCH] New formula: mrfast 2.1.0.3 Closes Homebrew/homebrew#10275. Signed-off-by: Jack Nagel --- Formula/mrfast.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Formula/mrfast.rb diff --git a/Formula/mrfast.rb b/Formula/mrfast.rb new file mode 100644 index 0000000000..ec41393975 --- /dev/null +++ b/Formula/mrfast.rb @@ -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