homebrew-core/Formula/lcs.rb

28 lines
915 B
Ruby
Raw Normal View History

2017-02-06 10:26:55 +00:00
class Lcs < Formula
desc "Satirical console-based political role-playing/strategy game"
2017-03-11 14:09:25 +00:00
homepage "https://sourceforge.net/projects/lcsgame/"
if MacOS.version >= :sierra
url "https://svn.code.sf.net/p/lcsgame/code/trunk", :revision => "738"
else
url "http://svn.code.sf.net/p/lcsgame/code/trunk", :revision => "738"
end
2017-02-06 10:26:55 +00:00
version "4.07.4b"
2017-03-11 14:02:58 +00:00
head "https://svn.code.sf.net/p/lcsgame/code/trunk"
2017-02-06 10:26:55 +00:00
2017-02-08 08:28:12 +00:00
bottle do
sha256 "a8fa614ec5adc3ee2d7417a024bf5e9c78e9f8d4e043e0b916dc5a99f1bb1d9c" => :sierra
sha256 "621487b12c93a9b37e1330041f979a28d3d310c1d8c9efecf274808d081d510e" => :el_capitan
sha256 "9ca23650e17e177c4c9fa5352dc81a9f415bc3778b2fd8a55330936eb4d7d28c" => :yosemite
end
2017-02-06 10:26:55 +00:00
depends_on "autoconf" => :build
depends_on "automake" => :build
def install
system "./bootstrap"
system "./configure", "LIBS=-liconv", "--prefix=#{prefix}"
system "make", "install"
end
end