blob: b4ae202ceb3dc106f5be5677ef0bc0063af632a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
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
|