diff options
| author | David Höppner | 2009-09-19 11:35:43 +0200 | 
|---|---|---|
| committer | David Höppner | 2009-09-19 11:35:43 +0200 | 
| commit | bfe836d2ab1f00d1466a56c149b14de14d094900 (patch) | |
| tree | 2e466d93d03caaa560a6336ae27806124b5ab02c /Library/Formula/gnu-smalltalk.rb | |
| parent | 0b27712e6fa11c8153af692ba32046d2d29a5659 (diff) | |
| download | homebrew-bfe836d2ab1f00d1466a56c149b14de14d094900.tar.bz2 | |
GNU Smalltalk formula
GNU Smalltalk is a free implementation of the Smalltalk-80 language.
Diffstat (limited to 'Library/Formula/gnu-smalltalk.rb')
| -rw-r--r-- | Library/Formula/gnu-smalltalk.rb | 19 | 
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/gnu-smalltalk.rb b/Library/Formula/gnu-smalltalk.rb new file mode 100644 index 000000000..f6b7852e9 --- /dev/null +++ b/Library/Formula/gnu-smalltalk.rb @@ -0,0 +1,19 @@ +require 'brewkit' + +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  | 
