21 lines
495 B
Ruby
21 lines
495 B
Ruby
require 'formula'
|
|
|
|
class SLang <Formula
|
|
@url='ftp://space.mit.edu/pub/davis/slang/v2.2/slang-2.2.2.tar.bz2'
|
|
@homepage='http://www.s-lang.org/'
|
|
@md5='974437602a781cfe92ab61433dd16d03'
|
|
|
|
aka :slang
|
|
|
|
depends_on 'pcre' => :optional
|
|
depends_on 'oniguruma' => :optional
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--with-png=/usr/X11R6"
|
|
system "make"
|
|
|
|
ENV.deparallelize
|
|
system "make install"
|
|
end
|
|
end
|