diff options
| author | Markus Groß | 2010-05-21 18:31:42 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2010-05-22 10:15:15 -0700 |
| commit | 040281135aef2f5f9a589f43f5654982985497e0 (patch) | |
| tree | c254e0cf0b05bf5a7fd055783bdaa805ff64246c /Library/Formula/stp.rb | |
| parent | 35808e3d0616e6322d58949f8dec778a5e39b349 (diff) | |
| download | homebrew-040281135aef2f5f9a589f43f5654982985497e0.tar.bz2 | |
Updated stp to revision 774.
Diffstat (limited to 'Library/Formula/stp.rb')
| -rw-r--r-- | Library/Formula/stp.rb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Library/Formula/stp.rb b/Library/Formula/stp.rb new file mode 100644 index 000000000..fe4eef5d3 --- /dev/null +++ b/Library/Formula/stp.rb @@ -0,0 +1,23 @@ +require 'formula' + +class Stp < Formula + head 'http://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp', :revision => '774' + 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.change_make_var! "CFLAGS_M32", "" + end + end + + system "./clean-install.sh", "--with-prefix=#{prefix}" + system "make install" + end +end |
