mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 11:29:53 -05:00
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.
21 lines
573 B
Ruby
21 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
|