2009-11-30 03:36:38 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Msmtp <Formula
|
2011-01-10 00:55:30 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/msmtp/msmtp/1.4.22/msmtp-1.4.22.tar.bz2'
|
2009-11-30 03:36:38 +00:00
|
|
|
homepage 'http://msmtp.sourceforge.net'
|
2011-01-10 00:55:30 +00:00
|
|
|
md5 'de0a4e6f3133519b301fc114daf81f49'
|
2009-11-30 03:36:38 +00:00
|
|
|
|
2010-01-28 22:14:05 +00:00
|
|
|
def options
|
2010-04-07 05:58:35 +00:00
|
|
|
[['--with-macosx-keyring', "Support Mac OS X Keyring"]]
|
2010-01-28 22:14:05 +00:00
|
|
|
end
|
|
|
|
|
2009-11-30 03:36:38 +00:00
|
|
|
def install
|
2011-01-10 00:55:30 +00:00
|
|
|
args = [ "--disable-dependency-tracking", "--prefix=#{prefix}" ]
|
2010-04-07 05:58:35 +00:00
|
|
|
args << "--with-macosx-keyring" if ARGV.include? '--with-macosx-keyring'
|
2010-01-28 22:14:05 +00:00
|
|
|
|
2010-04-07 05:58:35 +00:00
|
|
|
system "./configure", *args
|
2009-11-30 03:36:38 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|