homebrew-core/Formula/gnu-prolog.rb

22 lines
489 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
2009-11-17 18:29:10 +00:00
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
2009-11-17 18:29:10 +00:00
def install
ENV.j1 # won't make in parallel
cd 'src' do
system "./configure", "--prefix=#{prefix}", "--with-doc-dir=#{doc}"
2009-11-17 18:29:10 +00:00
system "make"
system "make install-strip"
end
end
end