Formula for the Hercules emulator.

Hercules is an open source software implementation of the mainframe
System/370 and ESA/390 architectures, in addition to the new 64-bit
z/Architecture.
This commit is contained in:
Adam Vandenberg 2009-09-26 21:41:34 -07:00 committed by Max Howell
parent 85aff083b1
commit f1872a1b4a

20
Formula/hercules.rb Normal file
View file

@ -0,0 +1,20 @@
require 'brewkit'
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