aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2009-09-26 21:41:34 -0700
committerMax Howell2009-09-29 23:33:22 +0100
commit8f86c069e7b050537bfcef9561e893955f0f7a0b (patch)
tree93bf27bc7b82551a9361edd866670ea5de1b6c06 /Library
parent9ada72468ae56d2536f5c0d70c76c4cf7bff4831 (diff)
downloadhomebrew-8f86c069e7b050537bfcef9561e893955f0f7a0b.tar.bz2
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.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/hercules.rb20
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/hercules.rb b/Library/Formula/hercules.rb
new file mode 100644
index 000000000..ee2f9971f
--- /dev/null
+++ b/Library/Formula/hercules.rb
@@ -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