homebrew-core/Formula/gforth.rb

19 lines
599 B
Ruby
Raw Normal View History

2011-03-10 05:11:03 +00:00
class Gforth < Formula
desc "Implementation of the ANS Forth language"
homepage "https://www.gnu.org/software/gforth/"
2015-10-12 21:38:45 +00:00
url "https://www.complang.tuwien.ac.at/forth/gforth/gforth-0.7.3.tar.gz"
sha256 "2f62f2233bf022c23d01c920b1556aa13eab168e3236b13352ac5e9f18542bb0"
2010-05-28 20:45:09 +00:00
depends_on "libtool" => :run
depends_on "libffi"
depends_on "pcre"
2010-05-28 20:45:09 +00:00
def install
cp Dir["#{Formula["libtool"].opt_share}/libtool/*/config.{guess,sub}"], buildpath
ENV.deparallelize
system "./configure", "--prefix=#{prefix}"
2010-05-28 20:45:09 +00:00
system "make" # Separate build steps.
system "make", "install"
2010-05-28 20:45:09 +00:00
end
end