diff options
| author | phinze | 2011-05-26 23:11:42 -0500 |
|---|---|---|
| committer | Adam Vandenberg | 2011-06-13 15:15:24 -0700 |
| commit | fdb6ac762427bdcf1ea8bf859f46596e61cbbec3 (patch) | |
| tree | 096b0ea42f56f1bd63ca5198b368fcdc5ae61ae5 /Library | |
| parent | 2d2e706cc29bafa2f1e06ba19fa148967300deb2 (diff) | |
| download | homebrew-fdb6ac762427bdcf1ea8bf859f46596e61cbbec3.tar.bz2 | |
mutt: add --with-slang option
Apparently slang deals with the Solarized color scheme better than ncurses.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/mutt.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Library/Formula/mutt.rb b/Library/Formula/mutt.rb index ebb589bf1..9bfa67494 100644 --- a/Library/Formula/mutt.rb +++ b/Library/Formula/mutt.rb @@ -6,12 +6,14 @@ class Mutt < Formula md5 'a29db8f1d51e2f10c070bf88e8a553fd' depends_on 'tokyo-cabinet' + depends_on 'slang' if ARGV.include? '--with-slang' def options [ ['--enable-debug', "Build with debug option enabled"], ['--sidebar-patch', "Apply sidebar (folder list) patch"], - ['--trash-patch', "Apply trash folder patch"] + ['--trash-patch', "Apply trash folder patch"], + ['--with-slang', "Build against slang instead of ncurses"] ] end @@ -55,6 +57,10 @@ class Mutt < Formula args << "--disable-debug" end + if ARGV.include? '--with-slang' + args << "--with-slang" + end + system "./configure", *args system "make install" end |
