2012-03-21 10:48:22 +00:00
|
|
|
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'
|
|
|
|
|
2012-08-28 05:05:51 +00:00
|
|
|
option 'enable-debug', 'Enable debugging'
|
2012-03-21 10:48:22 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
args = ["--prefix=#{prefix}"]
|
2012-08-28 05:05:51 +00:00
|
|
|
args << '--enable-debug' if build.include? 'enable-debug'
|
2012-03-21 10:48:22 +00:00
|
|
|
|
|
|
|
system "./configure", *args
|
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|