2011-02-14 01:18:20 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Mu < Formula
|
2012-04-25 18:39:49 +00:00
|
|
|
url 'http://mu0.googlecode.com/files/mu-0.9.8.3.tar.gz'
|
|
|
|
sha1 'e66396783b9424cb7bf740bc309bd1361f399d16'
|
2011-02-14 01:18:20 +00:00
|
|
|
homepage 'http://www.djcbsoftware.nl/code/mu/'
|
2011-10-02 21:39:12 +00:00
|
|
|
head 'git://gitorious.org/mu/old.git'
|
2011-02-14 01:18:20 +00:00
|
|
|
|
|
|
|
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
|
2012-04-25 18:39:49 +00:00
|
|
|
|
|
|
|
def caveats; <<-EOS.undent
|
|
|
|
Existing mu users are recommended to run the following after upgrading:
|
|
|
|
|
|
|
|
mu index --rebuild
|
|
|
|
EOS
|
|
|
|
end
|
2011-02-14 01:18:20 +00:00
|
|
|
end
|