7bd947eb0b
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
19 lines
525 B
Ruby
Executable file
19 lines
525 B
Ruby
Executable file
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'
|
|
|
|
depends_on 'pcre' => :optional
|
|
depends_on 'oniguruma' => :optional
|
|
|
|
def install
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--with-png=/usr/X11R6"
|
|
system "make"
|
|
ENV.deparallelize
|
|
system "make install"
|
|
end
|
|
end
|