blob: bf12fd7d3761a6e3bf7c1248d60d9fdb724b7c20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
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
|