2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-09 12:03:04 +00:00
|
|
|
|
|
|
|
class SLang <Formula
|
2010-04-07 05:58:35 +00:00
|
|
|
url 'ftp://space.mit.edu/pub/davis/slang/v2.2/slang-2.2.2.tar.bz2'
|
|
|
|
homepage 'http://www.s-lang.org/'
|
|
|
|
md5 '974437602a781cfe92ab61433dd16d03'
|
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
|
2010-04-07 05:58:35 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--with-png=/usr/X11R6"
|
2009-09-09 12:03:04 +00:00
|
|
|
system "make"
|
|
|
|
ENV.deparallelize
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|