homebrew-core/Formula/hercules.rb
Jack Nagel 51835f2f4d hercule: simplify build
- _FORTIFY_SOURCE=0 hack doesn't appear to be necessary
 - --disable-ipv6 doesn't appear to be necessary
 - autogen.sh uses --add-missing
2014-05-24 20:14:20 -05:00

26 lines
712 B
Ruby

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
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