2011-03-10 05:11:03 +00:00
|
|
|
class Alpine < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "News and email agent"
|
2014-11-03 23:45:49 +00:00
|
|
|
homepage "http://patches.freeiz.com/alpine/"
|
2015-05-31 07:10:04 +00:00
|
|
|
url "http://patches.freeiz.com/alpine/release/src/alpine-2.20.tar.xz"
|
|
|
|
sha256 "ed639b6e5bb97e6b0645c85262ca6a784316195d461ce8d8411999bf80449227"
|
2014-11-03 23:45:49 +00:00
|
|
|
|
|
|
|
bottle do
|
2015-09-24 05:04:38 +00:00
|
|
|
sha256 "730553f37f597097bbba910de04dd5b9327d5b5a920c26f29406eca2d31f540d" => :el_capitan
|
2015-05-31 07:27:49 +00:00
|
|
|
sha256 "cd774d63bf4327c4109a6b97fd7189f9618d53bd608bb314101f4880368f7662" => :yosemite
|
|
|
|
sha256 "b35c3667a183c86dfa769e1d9e53669524930fda371422ab1c8519d3d807b8d5" => :mavericks
|
|
|
|
sha256 "8f52d4ebe9e445ec975cabdd74c4a48cef80eebb21f18c33644e99de1a6d2173" => :mountain_lion
|
2014-11-03 23:45:49 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
depends_on "openssl"
|
2010-03-16 04:25:50 +00:00
|
|
|
|
2011-04-08 18:16:37 +00:00
|
|
|
def install
|
2010-03-16 04:25:50 +00:00
|
|
|
ENV.j1
|
2011-04-08 18:16:37 +00:00
|
|
|
system "./configure", "--disable-debug",
|
2015-05-05 13:39:53 +00:00
|
|
|
"--with-ssl-dir=#{Formula["openssl"].opt_prefix}",
|
2014-11-03 23:45:49 +00:00
|
|
|
"--with-ssl-certs-dir=#{etc}/openssl",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/alpine", "-supported"
|
2010-03-16 04:25:50 +00:00
|
|
|
end
|
|
|
|
end
|