homebrew-core/Formula/s-lang.rb
Max Howell 61b2307139 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00

18 lines
480 B
Ruby

require 'formula'
class SLang <Formula
@url='ftp://space.mit.edu/pub/davis/slang/v2.2/slang-2.2.1.tar.gz'
@homepage='http://www.s-lang.org/'
@md5='9a72420df2aa7b1932a195c6e5a85465'
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