35 lines
1 KiB
Ruby
35 lines
1 KiB
Ruby
class GambitScheme < Formula
|
|
desc "Gambit Scheme is an implementation of the Scheme Language"
|
|
homepage "https://github.com/gambit/gambit"
|
|
url "https://github.com/gambit/gambit/archive/v4.9.3.tar.gz"
|
|
sha256 "a5e4e5c66a99b6039fa7ee3741ac80f3f6c4cff47dc9e0ff1692ae73e13751ca"
|
|
revision 1
|
|
|
|
bottle do
|
|
rebuild 1
|
|
sha256 "29ea9591fa013cc415e350f8dd9945eefcc25ea952e41761c333030d9f04413f" => :catalina
|
|
sha256 "e75d7b7fcf5cbc5e58699a67bf617b0193f2b033fdbb57a8492bcdf87de187fa" => :mojave
|
|
sha256 "1315afe6baa62429e4404d6fdb83b48dc804ec154b44b09a383eae05a5c1aa03" => :high_sierra
|
|
end
|
|
|
|
depends_on "openssl@1.1"
|
|
|
|
def install
|
|
args = %W[
|
|
--prefix=#{prefix}
|
|
--enable-single-host
|
|
--enable-multiple-versions
|
|
--enable-default-runtime-options=f8,-8,t8
|
|
--enable-openssl
|
|
]
|
|
|
|
system "./configure", *args
|
|
system "make"
|
|
ENV.deparallelize
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
assert_equal "0123456789", shell_output("#{prefix}/current/bin/gsi -e \"(for-each write '(0 1 2 3 4 5 6 7 8 9))\"")
|
|
end
|
|
end
|