homebrew-core/Formula/gmap-gsnap.rb
Jack Nagel 63cde03be4 Fix more quoting issues
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-15 17:08:57 -05:00

31 lines
760 B
Ruby

require 'formula'
class GmapGsnap < Formula
homepage 'http://research-pub.gene.com/gmap'
url 'http://research-pub.gene.com/gmap/src/gmap-gsnap-2012-04-10.tar.gz'
md5 'acd1731524eb3517f6e82147c646d27d'
version "2012-04-10"
depends_on "samtools"
def install
ENV['CC'] = "#{ENV.cc} -O3 -m#{MacOS.prefer_64_bit? ? 64 : 32}"
system "./configure", "--prefix=#{prefix}"
system "make"
system "make install"
end
def caveats; <<-EOF.undent
You will need to either download or build indexed search databases.
See the readme file for how to do this:
http://research-pub.gene.com/gmap/src/README
Databases will be installed to:
#{share}
EOF
end
def test
system "#{bin}/gsnap", "--version"
end
end