homebrew-core/Formula/gnu-smalltalk.rb
Max Howell 61b2307139 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00

19 lines
553 B
Ruby

require 'formula'
class GnuSmalltalk <Formula
@url='ftp://ftp.gnu.org/gnu/smalltalk/smalltalk-3.1.tar.gz'
@homepage='http://smalltalk.gnu.org/'
@md5='fb4630a86fc47c893cf9eb9adccd4851'
def patches
{
:p1 => ["http://bitbucket.org/0xffea/patches/raw/bc22b0b12337/homebrew/smalltalk-001-install.diff"]
}
end
def install
ENV['FFI_CFLAGS'] = '-I/usr/include/ffi'
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--with-readline=/usr/lib"
system "make install"
end
end