2010-11-22 00:05:43 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Notmuch < Formula
|
|
|
|
homepage 'http://notmuchmail.org'
|
2012-06-06 10:01:11 +00:00
|
|
|
url 'http://notmuchmail.org/releases/notmuch-0.13.2.tar.gz'
|
|
|
|
sha1 '368b2451a64b1e3c574e688100700fc941ff2ea1'
|
2010-11-22 00:05:43 +00:00
|
|
|
|
|
|
|
depends_on 'xapian'
|
|
|
|
depends_on 'talloc'
|
|
|
|
depends_on 'gmime'
|
|
|
|
|
|
|
|
def install
|
2012-02-22 01:24:48 +00:00
|
|
|
# requires a newer emacs than OS X provides, so disable the bindings
|
2011-10-26 02:24:19 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}", "--without-emacs"
|
|
|
|
system "make install"
|
2012-02-22 01:24:48 +00:00
|
|
|
system "install_name_tool", "-change", "libnotmuch.2.dylib",
|
|
|
|
"#{lib}/libnotmuch.2.dylib", "#{bin}/notmuch"
|
2010-11-22 00:05:43 +00:00
|
|
|
end
|
|
|
|
end
|