aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDaniel Schobel2009-11-25 01:21:13 -0600
committerMax Howell2009-12-05 16:32:56 +0000
commit86990d43a96bec203b45a47fb2f7b1cfaec4d06a (patch)
tree69cccc590e3a07967f98562d53b751f7b192b22c /Library
parent183e355f083bbd69ffb0ae6656f49dc164ca9d93 (diff)
downloadhomebrew-86990d43a96bec203b45a47fb2f7b1cfaec4d06a.tar.bz2
Add Midnight Commander formula
Signed-off-by: Max Howell <max@methylblue.com> Renamed from mc to midnight-commander, added mc alias.
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