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:
parent
85aff083b1
commit
f1872a1b4a
1 changed files with 20 additions and 0 deletions
20
Formula/hercules.rb
Normal file
20
Formula/hercules.rb
Normal 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
|
Loading…
Reference in a new issue