homebrew-core/Formula/hercules.rb
Max Howell 61b2307139 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00

20 lines
573 B
Ruby

require 'formula'
class Hercules <Formula
url 'http://www.hercules-390.org/hercules-3.06.tar.gz'
homepage 'http://www.hercules-390.org/'
md5 '3a356b251e2b7fc49ac2b7244d12d50b'
depends_on 'gawk'
def install
# Since Homebrew optimizes for us, tell Hercules not to.
# (It gets it wrong anyway.)
system "./configure", "--prefix=#{prefix}",
"--disable-debug",
"--disable-dependency-tracking",
"--enable-optimization=no"
system "make"
system "make install"
end
end