homebrew-core/Formula/stp.rb
Markus Groß e3d2b0ceb7 Updated stp to revision 986
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-08-15 10:12:03 -07:00

21 lines
515 B
Ruby

require 'formula'
class Stp < Formula
head 'http://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp', :revision => '986'
homepage 'http://sites.google.com/site/stpfastprover/'
def options
[["--32-bit", "Force 32-bit."]]
end
def install
unless ARGV.include? "--32-bit"
inreplace "./scripts/Makefile.common" do |s|
s.remove_make_var! "CFLAGS_M32"
end
end
system "./clean-install.sh", "--with-prefix=#{prefix}"
system "make install"
end
end