homebrew-core/Formula/msmtp.rb

23 lines
561 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Msmtp < Formula
homepage 'http://msmtp.sourceforge.net'
url 'http://downloads.sourceforge.net/project/msmtp/msmtp/1.4.30/msmtp-1.4.30.tar.bz2'
sha1 'fd469bae0c3394b30b771780e62bbd41c4d5d175'
2012-09-03 20:51:13 +00:00
option 'with-macosx-keyring', "Support Mac OS X Keyring"
2012-09-03 20:51:13 +00:00
depends_on 'pkg-config' => :build
def install
2012-09-03 20:51:13 +00:00
args = %W[
--disable-dependency-tracking
--prefix=#{prefix}
]
args << "--with-macosx-keyring" if build.include? 'with-macosx-keyring'
system "./configure", *args
system "make install"
end
end