2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-27 04:41:34 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Hercules < Formula
|
2010-07-25 05:34:45 +00:00
|
|
|
url 'http://www.hercules-390.org/hercules-3.07.tar.gz'
|
2009-09-27 04:41:34 +00:00
|
|
|
homepage 'http://www.hercules-390.org/'
|
2010-07-25 05:34:45 +00:00
|
|
|
md5 'a12aa1645b0695b25b7fc0c9a3ccab3a'
|
2009-09-27 04:41:34 +00:00
|
|
|
|
2010-07-24 04:34:02 +00:00
|
|
|
depends_on 'gawk'
|
2009-09-27 04:41:34 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
# Since Homebrew optimizes for us, tell Hercules not to.
|
|
|
|
# (It gets it wrong anyway.)
|
2010-04-07 05:58:35 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
2009-09-27 04:41:34 +00:00
|
|
|
"--enable-optimization=no"
|
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|