homebrew-core/Formula/s-lang.rb
Jack Nagel 01e9fad4a1 Adjust XQuartz/X11 module naming scheme
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-06 00:39:06 -05:00

20 lines
537 B
Ruby

require 'formula'
class SLang < Formula
url 'ftp://space.mit.edu/pub/davis/slang/v2.2/slang-2.2.4.tar.bz2'
homepage 'http://www.jedsoft.org/slang/'
md5 '7fcfd447e378f07dd0c0bae671fe6487'
depends_on :x11
depends_on 'pcre' => :optional
depends_on 'oniguruma' => :optional
def install
system "./configure", "--prefix=#{prefix}",
"--with-pnglib=#{MacOS::X11.lib}",
"--with-pnginc=#{MacOS::X11.include}"
ENV.j1
system "make"
system "make install"
end
end