2013-01-14 03:33:00 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Stone < Formula
|
|
|
|
homepage 'http://www.gcd.org/sengoku/stone/'
|
|
|
|
url 'http://www.gcd.org/sengoku/stone/stone-2.3e.tar.gz'
|
|
|
|
sha1 '1ed12f29c1f896c1a94237b30201c615af5bb0f8'
|
|
|
|
|
2014-01-22 04:59:36 +00:00
|
|
|
option 'with-ssl', 'SSL support'
|
|
|
|
|
2013-01-14 03:33:00 +00:00
|
|
|
def install
|
2014-01-22 04:59:36 +00:00
|
|
|
target = (build.with? 'ssl') ? "macosx-ssl" : "macosx"
|
|
|
|
system "make", target
|
2013-01-14 03:33:00 +00:00
|
|
|
bin.install "stone"
|
|
|
|
end
|
|
|
|
end
|