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
|
2011-09-01 17:24:18 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}",
|
2011-04-18 02:45:22 +00:00
|
|
|
"--with-png=/usr/X11"
|
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
|