7bd947eb0b
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
20 lines
555 B
Ruby
20 lines
555 B
Ruby
require 'formula'
|
|
|
|
class Msmtp <Formula
|
|
url 'http://downloads.sourceforge.net/project/msmtp/msmtp/1.4.20/msmtp-1.4.20.tar.bz2'
|
|
homepage 'http://msmtp.sourceforge.net'
|
|
md5 '065042eaaee40c2779cf0bcfffe72aae'
|
|
|
|
def options
|
|
[['--with-macosx-keyring', "Support Mac OS X Keyring"]]
|
|
end
|
|
|
|
def install
|
|
args = [ "--disable-dependency-tracking", "--disable-debug",
|
|
"--prefix=#{prefix}" ]
|
|
args << "--with-macosx-keyring" if ARGV.include? '--with-macosx-keyring'
|
|
|
|
system "./configure", *args
|
|
system "make install"
|
|
end
|
|
end
|