2009-11-25 07:21:13 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class MidnightCommander < Formula
|
2009-11-25 07:21:13 +00:00
|
|
|
homepage 'http://www.midnight-commander.org/'
|
2012-07-19 17:04:31 +00:00
|
|
|
url 'http://www.midnight-commander.org/downloads/mc-4.8.4.tar.bz2',
|
2012-04-22 17:45:46 +00:00
|
|
|
:using => CurlUnsafeDownloadStrategy
|
2012-07-19 17:04:31 +00:00
|
|
|
sha256 '917f32a6ce0b8e3ec893bb18af73e64c246d79066322041608352623a579234b'
|
2009-11-25 07:21:13 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-08-08 00:16:13 +00:00
|
|
|
depends_on 'glib'
|
2011-01-22 18:51:22 +00:00
|
|
|
depends_on 's-lang'
|
2009-11-25 07:21:13 +00:00
|
|
|
|
|
|
|
def install
|
2010-08-08 00:16:13 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--without-x",
|
2011-01-22 18:51:22 +00:00
|
|
|
"--with-screen=slang"
|
2009-11-25 07:21:13 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|