2009-11-17 18:29:10 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2009-12-01 11:46:51 +00:00
|
|
|
class GnuProlog <Formula
|
2010-01-01 08:14:37 +00:00
|
|
|
url 'http://gprolog.univ-paris1.fr/unstable/gprolog-20091217.tgz'
|
2009-11-17 18:29:10 +00:00
|
|
|
homepage 'http://www.gprolog.org/'
|
2010-01-01 08:14:37 +00:00
|
|
|
md5 '3a0c9994927c8ff9e0a9c6edac0b2e69'
|
2009-11-17 18:29:10 +00:00
|
|
|
|
|
|
|
def skip_clean? path; true; end
|
|
|
|
|
|
|
|
def install
|
|
|
|
# make won't run in parallel
|
|
|
|
ENV.j1
|
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
|