7bd947eb0b
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
19 lines
461 B
Ruby
19 lines
461 B
Ruby
require 'formula'
|
|
|
|
class GnuProlog <Formula
|
|
url 'http://gprolog.univ-paris1.fr/unstable/gprolog-20091217.tgz'
|
|
homepage 'http://www.gprolog.org/'
|
|
md5 '3a0c9994927c8ff9e0a9c6edac0b2e69'
|
|
|
|
skip_clean :all
|
|
|
|
def install
|
|
ENV.j1 # make won't run in parallel
|
|
|
|
Dir.chdir 'src' do
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
system "make"
|
|
system "make install-strip"
|
|
end
|
|
end
|
|
end
|