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/'
|
2012-12-05 02:14:33 +00:00
|
|
|
url 'http://www.gprolog.org/gprolog-1.4.2.tar.gz'
|
|
|
|
sha1 '76d366910e50e56aa06c98a0a8903f98ec7f1c21'
|
2011-08-19 19:59:50 +00:00
|
|
|
|
2012-06-27 23:01:26 +00:00
|
|
|
fails_with :clang do
|
2012-09-01 02:33:22 +00:00
|
|
|
build 421
|
2012-06-27 23:01:26 +00:00
|
|
|
cause "Fatal Error: Segmentation Violation"
|
|
|
|
end
|
|
|
|
|
2009-11-17 18:29:10 +00:00
|
|
|
def install
|
2012-09-01 02:33:22 +00:00
|
|
|
ENV.j1 # won't make in parallel
|
2012-02-21 06:04:21 +00:00
|
|
|
cd 'src' do
|
2012-07-07 04:15:11 +00:00
|
|
|
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
|