2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-09 12:03:04 +00:00
|
|
|
|
|
|
|
class SLang <Formula
|
2009-09-13 10:10:48 +00:00
|
|
|
@url='ftp://space.mit.edu/pub/davis/slang/v2.2/slang-2.2.1.tar.gz'
|
2009-09-09 12:03:04 +00:00
|
|
|
@homepage='http://www.s-lang.org/'
|
2009-09-13 10:10:48 +00:00
|
|
|
@md5='9a72420df2aa7b1932a195c6e5a85465'
|
2009-09-09 12:03:04 +00:00
|
|
|
|
2009-09-21 18:00:13 +00:00
|
|
|
depends_on 'pcre' => :optional
|
|
|
|
depends_on 'oniguruma' => :optional
|
2009-09-09 12:03:04 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--with-png=/usr/X11R6"
|
|
|
|
system "make"
|
|
|
|
|
|
|
|
ENV.deparallelize
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|