2011-03-10 05:11:03 +00:00
|
|
|
class Gforth < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Implementation of the ANS Forth language"
|
2015-08-03 12:55:31 +00:00
|
|
|
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"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "2f62f2233bf022c23d01c920b1556aa13eab168e3236b13352ac5e9f18542bb0"
|
2010-05-28 20:45:09 +00:00
|
|
|
|
2015-08-03 12:55:31 +00:00
|
|
|
depends_on "libtool" => :run
|
|
|
|
depends_on "libffi"
|
|
|
|
depends_on "pcre"
|
2013-01-02 02:36:01 +00:00
|
|
|
|
2010-05-28 20:45:09 +00:00
|
|
|
def install
|
2014-12-07 05:14:29 +00:00
|
|
|
cp Dir["#{Formula["libtool"].opt_share}/libtool/*/config.{guess,sub}"], buildpath
|
2013-08-26 14:54:09 +00:00
|
|
|
ENV.deparallelize
|
2014-05-16 19:10:23 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}"
|
2010-05-28 20:45:09 +00:00
|
|
|
system "make" # Separate build steps.
|
2015-08-03 12:55:31 +00:00
|
|
|
system "make", "install"
|
2010-05-28 20:45:09 +00:00
|
|
|
end
|
|
|
|
end
|