homebrew-core/Formula/gnu-prolog.rb
Federico Bond 56d005fe92 GNU Prolog 1.4.2
Closes Homebrew/homebrew#16414.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-12-04 20:55:35 -06:00

21 lines
489 B
Ruby

require 'formula'
class GnuProlog < Formula
homepage 'http://www.gprolog.org/'
url 'http://www.gprolog.org/gprolog-1.4.2.tar.gz'
sha1 '76d366910e50e56aa06c98a0a8903f98ec7f1c21'
fails_with :clang do
build 421
cause "Fatal Error: Segmentation Violation"
end
def install
ENV.j1 # won't make in parallel
cd 'src' do
system "./configure", "--prefix=#{prefix}", "--with-doc-dir=#{doc}"
system "make"
system "make install-strip"
end
end
end