homebrew-core/Formula/msmtp.rb
2012-09-03 11:36:42 -07:00

21 lines
570 B
Ruby

require 'formula'
class Msmtp < Formula
homepage 'http://msmtp.sourceforge.net'
url 'http://downloads.sourceforge.net/project/msmtp/msmtp/1.4.28/msmtp-1.4.28.tar.bz2'
sha1 '3fd44b30e8f4ae071b2a5a205d6007f3465fa970'
depends_on 'pkg-config' => :build
def options
[['--with-macosx-keyring', "Support Mac OS X Keyring"]]
end
def install
args = [ "--disable-dependency-tracking", "--prefix=#{prefix}" ]
args << "--with-macosx-keyring" if ARGV.include? '--with-macosx-keyring'
system "./configure", *args
system "make install"
end
end