homebrew-core/Formula/msmtp.rb
wrb 71e10261fe msmtp needs pk-config to build
Closes Homebrew/homebrew#10304.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-02-18 08:50:12 -08:00

21 lines
561 B
Ruby

require 'formula'
class Msmtp < Formula
url 'http://downloads.sourceforge.net/project/msmtp/msmtp/1.4.26/msmtp-1.4.26.tar.bz2'
homepage 'http://msmtp.sourceforge.net'
md5 '35734268c883aa06388742f902d95676'
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