diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/mu.rb | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/Library/Formula/mu.rb b/Library/Formula/mu.rb index 9257aa825..d586aca60 100644 --- a/Library/Formula/mu.rb +++ b/Library/Formula/mu.rb @@ -1,9 +1,9 @@ -require 'formula' +require "formula" class Emacs23Installed < Requirement fatal true env :userpaths - default_formula 'emacs' + default_formula "emacs" satisfy do `emacs --version 2>/dev/null` =~ /^GNU Emacs (\d{2})/ @@ -12,37 +12,37 @@ class Emacs23Installed < Requirement end class Mu < Formula - homepage 'http://www.djcbsoftware.nl/code/mu/' - url 'https://github.com/djcb/mu/archive/v0.9.9.6.tar.gz' - sha1 '45feb511fecf8b306c87a42f3a84858ac442642c' + homepage "http://www.djcbsoftware.nl/code/mu/" + url "https://github.com/djcb/mu/archive/v0.9.10.tar.gz" + sha1 "5c21aeed9471f2d0aaa76307a3ec70fc86f0817b" - head 'https://github.com/djcb/mu.git' + head "https://github.com/djcb/mu.git" - option 'with-emacs', 'Build with emacs support' + option "with-emacs", "Build with emacs support" - depends_on 'autoconf' => :build - depends_on 'automake' => :build - depends_on 'libtool' => :build - depends_on 'pkg-config' => :build - depends_on 'gettext' - depends_on 'glib' - depends_on 'gmime' - depends_on 'xapian' - depends_on Emacs23Installed if build.with? 'emacs' + depends_on "autoconf" => :build + depends_on "automake" => :build + depends_on "libtool" => :build + depends_on "pkg-config" => :build + depends_on "gettext" + depends_on "glib" + depends_on "gmime" + depends_on "xapian" + depends_on Emacs23Installed if build.with? "emacs" - env :std if build.with? 'emacs' + env :std if build.with? "emacs" def install # Explicitly tell the build not to include emacs support as the version # shipped by default with Mac OS X is too old. - ENV['EMACS'] = 'no' if build.without? 'emacs' + ENV["EMACS"] = "no" if build.without? "emacs" # I dunno. # https://github.com/djcb/mu/issues/332 # https://github.com/Homebrew/homebrew/issues/25524 - ENV.delete 'MACOSX_DEPLOYMENT_TARGET' + ENV.delete "MACOSX_DEPLOYMENT_TARGET" - system 'autoreconf', '-ivf' + system "autoreconf", "-ivf" system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", "--with-gui=none" |
