aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/tophat.rb
blob: 8815d6fb7ffb1e6fa7ec5f2f555dac730f6d768d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require 'formula'

class Tophat < Formula
  url 'http://tophat.cbcb.umd.edu/downloads/tophat-1.4.0.tar.gz'
  homepage 'http://tophat.cbcb.umd.edu/'
  md5 'eb2c2f7d47358e199c79c64162636984'

  depends_on 'samtools'

  def install
    # It seems this project Makefile doesn't like -j4
    # Disable until consult with upstream
    ENV.deparallelize

    system "./configure", "--disable-debug", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
  end
end