GNU Smalltalk formula
GNU Smalltalk is a free implementation of the Smalltalk-80 language.
This commit is contained in:
parent
bb25b20b2a
commit
76de754e70
1 changed files with 19 additions and 0 deletions
19
Formula/gnu-smalltalk.rb
Normal file
19
Formula/gnu-smalltalk.rb
Normal file
|
@ -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
|
Loading…
Reference in a new issue