2009-11-17 18:29:10 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class GnuProlog < Formula
|
2011-03-18 01:48:01 +00:00
|
|
|
url 'http://gprolog.univ-paris1.fr/unstable/gprolog-20110301.tgz'
|
2009-11-17 18:29:10 +00:00
|
|
|
homepage 'http://www.gprolog.org/'
|
2011-03-18 01:48:01 +00:00
|
|
|
md5 '53a9bfba78f21f8f45a16f049d5df88a'
|
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
|
2011-03-18 01:48:01 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}"
|
2009-11-17 18:29:10 +00:00
|
|
|
system "make"
|
|
|
|
system "make install-strip"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|