d79ee8d163
Fixed formulas referencing X11 via the X11R6 symlink to instead reference the path X11 should be at directly (in case the user doesn't have that symlink, like I didn't) Signed-off-by: Adam Vandenberg <flangy@gmail.com>
19 lines
520 B
Ruby
19 lines
520 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 'pcre' => :optional
|
|
depends_on 'oniguruma' => :optional
|
|
|
|
def install
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--with-png=/usr/X11"
|
|
ENV.j1
|
|
system "make"
|
|
system "make install"
|
|
end
|
|
end
|