aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/midnight-commander.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/midnight-commander.rb b/Library/Formula/midnight-commander.rb
new file mode 100644
index 000000000..3c2c22e1c
--- /dev/null
+++ b/Library/Formula/midnight-commander.rb
@@ -0,0 +1,17 @@
+require 'formula'
+
+class MidnightCommander <Formula
+ url 'http://mirror.anl.gov/pub/gnu/mc/mc-4.6.1.tar.gz'
+ homepage 'http://www.midnight-commander.org/'
+ md5 '18b20db6e40480a53bac2870c56fc3c4'
+
+ depends_on 'glib'
+ depends_on 'pkg-config'
+
+ aka 'mc'
+
+ def install
+ system "./configure", "--prefix=#{prefix}","--without-x","--with-screen=ncurses", "--disable-debug", "--disable-dependency-tracking"
+ system "make install"
+ end
+end