homebrew-core/Formula/gnu-prolog.rb

27 lines
599 B
Ruby
Raw Normal View History

2009-11-17 18:29:10 +00:00
require 'formula'
2011-03-10 05:11:03 +00:00
class GnuProlog < Formula
url 'http://gprolog.univ-paris1.fr/gprolog-1.4.0.tar.gz'
2009-11-17 18:29:10 +00:00
homepage 'http://www.gprolog.org/'
md5 'cc944e5637a04a9184c8aa46c947fd16'
2009-11-17 18:29:10 +00:00
skip_clean :all
2009-11-17 18:29:10 +00:00
fails_with_llvm :build => 2334
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
# Applies fix as seen here:
# http://lists.gnu.org/archive/html/users-prolog/2011-07/msg00013.html
inreplace "configure", "darwin10", "darwin1"
system "./configure", "--prefix=#{prefix}"
2009-11-17 18:29:10 +00:00
system "make"
system "make install-strip"
end
end
end