aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorTom von Schwerdtner2009-09-04 12:29:53 +0800
committerMax Howell2009-09-11 17:42:54 +0100
commit3b7c4fd17eecb9bb6cef1aafea59c53cfce5feed (patch)
treeaabe1845fb1cd6ddd6919379d293c32e183c8181 /Library
parent03a95bdda7b9e4f60fd61d8f965b52d6bb4d9029 (diff)
downloadhomebrew-3b7c4fd17eecb9bb6cef1aafea59c53cfce5feed.tar.bz2
Mutt 1.5.20 formula
Signed-off-by: Max Howell <max@methylblue.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mutt.rb31
1 files changed, 31 insertions, 0 deletions
diff --git a/Library/Formula/mutt.rb b/Library/Formula/mutt.rb
new file mode 100644
index 000000000..8c94af4bc
--- /dev/null
+++ b/Library/Formula/mutt.rb
@@ -0,0 +1,31 @@
+require 'brewkit'
+
+class Mutt <Formula
+ @url='ftp://ftp.mutt.org/mutt/devel/mutt-1.5.20.tar.gz'
+ @homepage='http://www.mutt.org/'
+ @md5='027cdd9959203de0c3c64149a7ee351c'
+
+ def install
+ configure_args = [
+ "--prefix=#{prefix}",
+ "--disable-debug",
+ "--disable-dependency-tracking",
+ "--disable-warnings",
+ "--with-ssl",
+ "--with-sasl",
+ "--with-gnutls",
+ "--with-gss",
+ "--enable-imap",
+ "--enable-smtp",
+ "--enable-pop",
+
+ # This is just a trick to keep 'make install' from trying to chgrp
+ # the mutt_dotlock file (which we can't do if we're running as an
+ # unpriviledged user)
+ "--with-homespool=.mbox"
+ ]
+
+ system "./configure", *configure_args
+ system "make install"
+ end
+end