aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pathfinder.rb
blob: 21e6fd75f309c3f667644ced0f3bf35316b1595d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
require 'formula'

class Pathfinder < Formula
  homepage 'http://db.inf.uni-tuebingen.de/research/pathfinder'
  url 'http://db.inf.uni-tuebingen.de/files/research/pathfinder/download/pathfinder-0.41.tar.gz'
  sha1 '84f5581688e4c1dff27cf8e7d4354ee594f56970'

  def options
    [
      ['--enable-debug', 'enable full debbugging']
    ]
  end

  def install
    args = ["--prefix=#{prefix}"]

    if ARGV.include? '--enable-debug'
      args << '--enable-debug'
    end

    system "./configure", *args
    system "make"
    system "make install"
  end
end