aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/hercules.rb
blob: 6de76c9c82e993e942bac66b61466feb5bea4efb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require 'formula'

class Hercules < Formula
  homepage 'http://www.hercules-390.eu/'
  url 'http://downloads.hercules-390.eu/hercules-3.10.tar.gz'
  sha1 '10599041c7e5607cf2e7ecc76802f785043e2830'

  skip_clean :la

  def install
    # Since Homebrew optimizes for us, tell Hercules not to.
    # (It gets it wrong anyway.)
    system "./configure", "--disable-debug", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--enable-optimization=no"
    system "make"
    system "make install"
  end
end