aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mu.rb
blob: 16c7ae0dc767cc12e7d7e7b3dd1f8f5b688ac63a (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
require 'formula'

class Mu < Formula
  url 'http://mu0.googlecode.com/files/mu-0.9.6.tar.gz'
  homepage 'http://www.djcbsoftware.nl/code/mu/'
  head 'http://mu0.googlecode.com/files/mu-0.9.7-pre.tar.gz'

  if ARGV.build_head?
    md5 '811e896894f789ef1b87316d4322b412'
  else
    md5 '72fdf907f2b7922a54c8d14bc4b06ccf'
  end

  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
end