aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/msmtp.rb
blob: dd287f3f3c322be5907665d7cee64340d972561c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
require "formula"

class Msmtp < Formula
  homepage "http://msmtp.sourceforge.net"
  url "https://downloads.sourceforge.net/project/msmtp/msmtp/1.4.32/msmtp-1.4.32.tar.bz2"
  sha1 "03186a70035dbbf7a31272a20676b96936599704"
  revision 1

  bottle do
    revision 1
    sha1 "482d3583ebc0964f56c970e0310ed4ba639229e6" => :mavericks
    sha1 "d2c84e885cbf3e8910ade9c0c6715aac982dabe5" => :mountain_lion
    sha1 "0f45147dfade4a1a236839e787c33848c51a8143" => :lion
  end

  depends_on "pkg-config" => :build
  depends_on "openssl"

  def install
    args = %W[
      --disable-dependency-tracking
      --with-macosx-keyring
      --prefix=#{prefix}
      --with-ssl=openssl
    ]

    system "./configure", *args
    system "make", "install"
  end
end