From 55c9fea5c8b35725d50b9b9f97ac94aa097aa9ab Mon Sep 17 00:00:00 2001 From: Tomas Carnecky Date: Mon, 22 Nov 2010 01:05:43 +0100 Subject: notmuch 0.5 Signed-off-by: Adam Vandenberg --- Library/Formula/notmuch.rb | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Library/Formula/notmuch.rb (limited to 'Library/Formula') 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 -- cgit v1.2.3