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