aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/gforth.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2010-05-28 13:45:09 -0700
committerAdam Vandenberg2010-05-28 13:45:09 -0700
commitd35133491779870554e3ddbe3e26d87baab67750 (patch)
tree4c7728c3e1b036d054e6d42ae5fdfc4bbfdebc55 /Library/Formula/gforth.rb
parent05fef4cfc5b204bccf45da8eb4b7120e12672e2a (diff)
downloadhomebrew-d35133491779870554e3ddbe3e26d87baab67750.tar.bz2
gforth 0.7.0
Diffstat (limited to 'Library/Formula/gforth.rb')
-rw-r--r--Library/Formula/gforth.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/gforth.rb b/Library/Formula/gforth.rb
new file mode 100644
index 000000000..c21ec2e3b
--- /dev/null
+++ b/Library/Formula/gforth.rb
@@ -0,0 +1,17 @@
+require 'formula'
+
+class Gforth <Formula
+ url 'http://www.complang.tuwien.ac.at/forth/gforth/gforth-0.7.0.tar.gz'
+ homepage 'http://www.jwdt.com/~paysan/gforth.html'
+ md5 '2979ae86ede73ce2b3576dae957f4098'
+
+ def install
+ ENV.j1 # Parallel builds won't work
+ # Install 32-bit only, even on Snow Leopard. See:
+ # http://www.groupsrv.com/computers/about648918.html
+ ENV['CC'] = "gcc -m32"
+ system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
+ system "make" # Separate build steps.
+ system "make install"
+ end
+end