2009-11-17 18:29:10 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2009-12-01 11:46:51 +00:00
|
|
|
class GnuProlog <Formula
|
2010-08-25 18:44:44 +00:00
|
|
|
url 'http://gprolog.univ-paris1.fr/unstable/gprolog-20100713.tgz'
|
2009-11-17 18:29:10 +00:00
|
|
|
homepage 'http://www.gprolog.org/'
|
2010-08-25 18:44:44 +00:00
|
|
|
md5 '0f882e352b886a5ddb59bcab457fa78e'
|
2009-11-17 18:29:10 +00:00
|
|
|
|
2010-04-07 05:58:35 +00:00
|
|
|
skip_clean :all
|
2009-11-17 18:29:10 +00:00
|
|
|
|
|
|
|
def install
|
2010-04-07 05:58:35 +00:00
|
|
|
ENV.j1 # make won't run in parallel
|
2010-01-01 08:14:37 +00:00
|
|
|
|
2009-11-17 18:29:10 +00:00
|
|
|
Dir.chdir 'src' do
|
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
|
|
system "make"
|
|
|
|
system "make install-strip"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|