homebrew-core/Formula/notmuch.rb

20 lines
590 B
Ruby
Raw Normal View History

require 'formula'
class Notmuch < Formula
homepage 'http://notmuchmail.org'
url 'http://notmuchmail.org/releases/notmuch-0.11.1.tar.gz'
sha1 '05694ae8762076bf91d63b199e72a12e5ce012b0'
depends_on 'xapian'
depends_on 'talloc'
depends_on 'gmime'
def install
# requires a newer emacs than OS X provides, so disable the bindings
system "./configure", "--prefix=#{prefix}", "--without-emacs"
system "make install"
system "install_name_tool", "-change", "libnotmuch.2.dylib",
"#{lib}/libnotmuch.2.dylib", "#{bin}/notmuch"
end
end