homebrew-core/Formula/slang.rb
Daniel Rodríguez Troitiño 896ffcb98c S-Lang formula
S-Lang is a multi-platform programmer's library designed to allow a developer
to create robust multi-platform software.

<http://www.s-lang.org/>
2009-09-11 17:42:53 +01:00

20 lines
496 B
Ruby

require 'brewkit'
class Slang <Formula
@url='ftp://space.mit.edu/pub/davis/slang/v2.2/slang-2.2.0.tar.gz'
@homepage='http://www.s-lang.org/'
@md5='81cd7456c70a21937497f4b04b77433c'
def deps
OptionalLibraryDep.new 'pcre'
OptionalLibraryDep.new 'oniguruma'
end
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking --with-png=/usr/X11R6"
system "make"
ENV.deparallelize
system "make install"
end
end