homebrew-core/Formula/gnu-prolog.rb

20 lines
461 B
Ruby
Raw Normal View History

2009-11-17 18:29:10 +00:00
require 'formula'
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
skip_clean :all
2009-11-17 18:29:10 +00:00
def install
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