diff options
| author | Tomas Carnecky | 2010-11-22 01:05:43 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2011-04-23 09:06:59 -0700 |
| commit | 55c9fea5c8b35725d50b9b9f97ac94aa097aa9ab (patch) | |
| tree | 2f00e5ec5b12965b12081760cad655089e07fc41 /Library/Formula | |
| parent | 148c2de617f2f2137f19fa24961f08b07466988c (diff) | |
| download | homebrew-55c9fea5c8b35725d50b9b9f97ac94aa097aa9ab.tar.bz2 | |
notmuch 0.5
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/notmuch.rb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Library/Formula/notmuch.rb b/Library/Formula/notmuch.rb new file mode 100644 index 000000000..e2fad4748 --- /dev/null +++ b/Library/Formula/notmuch.rb @@ -0,0 +1,24 @@ +require 'formula' + +class Notmuch < Formula + url 'http://notmuchmail.org/releases/notmuch-0.5.tar.gz' + homepage 'http://notmuchmail.org' + md5 '983cd907a7bf5ee0d12ebfb54cff784f' + + depends_on 'xapian' + depends_on 'talloc' + depends_on 'gmime' + + def install + system "./configure", "--prefix=#{prefix}" + + # notmuch requires a newer emacs than macosx provides. So we either + # disable the emacs bindings or make notmuch depend on the homebrew + # emacs package. + # And there is a race condition in the makefile, so we have to either + # deparallelize the process or run make and make install separately. + + system "make HAVE_EMACS=0" + system "make install HAVE_EMACS=0" + end +end |
