homebrew-core/Formula/hercules.rb
Adam Vandenberg 7bd947eb0b Update formulae for version 0.7
* 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
2010-08-07 18:08:53 -07:00

19 lines
546 B
Ruby

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