2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-09 12:03:04 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class SLang < Formula
|
2011-04-12 12:29:30 +00:00
|
|
|
url 'ftp://space.mit.edu/pub/davis/slang/v2.2/slang-2.2.4.tar.bz2'
|
2010-12-17 16:43:33 +00:00
|
|
|
homepage 'http://www.jedsoft.org/slang/'
|
2011-04-12 12:29:30 +00:00
|
|
|
md5 '7fcfd447e378f07dd0c0bae671fe6487'
|
2009-09-09 12:03:04 +00:00
|
|
|
|
2009-09-21 18:00:13 +00:00
|
|
|
depends_on 'pcre' => :optional
|
|
|
|
depends_on 'oniguruma' => :optional
|
2009-09-09 12:03:04 +00:00
|
|
|
|
|
|
|
def install
|
2010-04-07 05:58:35 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--with-png=/usr/X11R6"
|
2010-12-17 16:43:33 +00:00
|
|
|
ENV.j1
|
2009-09-09 12:03:04 +00:00
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|