mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-05 17:42:42 -05:00
Need to use a compiler with C11 type redefinition support such as GCC 4.6 or newer. Tested with GCC 5 brew install --cc=gcc-5 retroforth
20 lines
554 B
Ruby
20 lines
554 B
Ruby
class Retroforth < Formula
|
|
desc "A modern, pragmatic Forth drawing influence from many sources"
|
|
homepage "https://retroforth.org"
|
|
url "https://retroforth.org/r/RETRO12-2023.3.tar.gz"
|
|
version "2023.3"
|
|
sha256 "5ee8c2416598d11edac331c7f3f81141e249cb1826ad740ac5c28a7c39860671"
|
|
|
|
# Need a compiler with support for C11 typedef redefinitions e.g GCC 4.6 or newer
|
|
fails_with :gcc_4_0
|
|
fails_with :gcc
|
|
|
|
def install
|
|
system "make", "install", "PREFIX=#{prefix}", "CC=#{ENV.cc}"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/retro < /dev/null"
|
|
end
|
|
end
|