aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mu.rb
blob: db1ffb118cf63865327a4c3e26d2e06e66ff51f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
require 'formula'

class Mu < Formula
  url 'http://mu0.googlecode.com/files/mu-0.9.8.3.tar.gz'
  sha1 'e66396783b9424cb7bf740bc309bd1361f399d16'
  homepage 'http://www.djcbsoftware.nl/code/mu/'
  head 'git://gitorious.org/mu/old.git'

  depends_on 'gettext'
  depends_on 'glib'
  depends_on 'gmime'
  depends_on 'xapian'

  def install
    system  "./configure", "--prefix=#{prefix}",
      "--disable-dependency-tracking", "--with-gui=none"
    system "make"
    system "make install"
  end

  def caveats; <<-EOS.undent
    Existing mu users are recommended to run the following after upgrading:

      mu index --rebuild
    EOS
  end
end