b760b8cb41
- Fix library install name issue that upstream is skating around Closes Homebrew/homebrew#8284. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
19 lines
588 B
Ruby
19 lines
588 B
Ruby
require 'formula'
|
|
|
|
class Notmuch < Formula
|
|
homepage 'http://notmuchmail.org'
|
|
url 'http://notmuchmail.org/releases/notmuch-0.11.tar.gz'
|
|
sha1 '11eb1d967af089ed36f6816f61ebae308bc19339'
|
|
|
|
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
|