homebrew-core/Formula/hercules.rb
BrewTestBot 95884bae22 Formula files style updates.
Closes Homebrew/homebrew#42407.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 14:21:42 +01:00

25 lines
776 B
Ruby

class Hercules < Formula
desc "System/370, ESA/390 and z/Architecture Emulator"
homepage "http://www.hercules-390.eu/"
url "http://downloads.hercules-390.eu/hercules-3.10.tar.gz"
sha256 "26264569b7d78bbc3b6221926051ac3761c4a792dfc84d591d3230de40aa46fa"
skip_clean :la
head do
url "https://github.com/hercules-390/hyperion.git"
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
end
def install
system "./autogen.sh" if build.head?
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}",
"--enable-optimization=no"
system "make"
system "make", "install"
end
end