homebrew-core/Formula/gforth.rb

20 lines
563 B
Ruby
Raw Normal View History

2010-05-28 20:45:09 +00:00
require 'formula'
2011-03-10 05:11:03 +00:00
class Gforth < Formula
homepage 'http://www.gnu.org/software/gforth/'
url 'http://www.complang.tuwien.ac.at/forth/gforth/gforth-0.7.3.tar.gz'
sha256 '2f62f2233bf022c23d01c920b1556aa13eab168e3236b13352ac5e9f18542bb0'
2010-05-28 20:45:09 +00:00
2014-04-11 17:36:39 +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"
end
end