New formula: swi-prolog

Formula for SWI Prolog.
master
Björn B. Brandenburg 2009-12-25 23:18:52 +01:00 committed by David Höppner
parent 3eb225a620
commit 7e8a284932
1 changed files with 19 additions and 0 deletions

19
Formula/swi-prolog.rb Normal file
View File

@ -0,0 +1,19 @@
require 'formula'
class SwiProlog <Formula
url 'http://www.swi-prolog.org/download/stable/src/pl-5.8.2.tar.gz'
homepage 'http://www.swi-prolog.org/'
md5 '478af676cc9801c4181694141c4acbf7'
depends_on "gmp"
depends_on "readline"
def install
# doesn't pick up gmp otherwise
ENV.append "CFLAGS", ENV['CPPFLAGS']
system "./configure", "--prefix=#{prefix}"
system "make"
system "make install"
end
end