2011-03-10 05:11:03 +00:00
|
|
|
class Getmail < Formula
|
2014-05-23 18:57:40 +00:00
|
|
|
homepage "http://pyropus.ca/software/getmail/"
|
2015-03-12 00:46:19 +00:00
|
|
|
url "http://pyropus.ca/software/getmail/old-versions/getmail-4.47.0.tar.gz"
|
|
|
|
mirror "https://fossies.org/linux/misc/getmail-4.47.0.tar.gz"
|
|
|
|
sha256 "4b5accd3d0d79e1a84c0aed850ac8717b7f6e9ad72cfab7ba22abf58638e4540"
|
2010-04-10 19:13:10 +00:00
|
|
|
|
2014-05-23 18:57:40 +00:00
|
|
|
# See: https://github.com/Homebrew/homebrew/pull/28739
|
2014-04-26 15:25:30 +00:00
|
|
|
patch do
|
|
|
|
url "https://gist.githubusercontent.com/sigma/11295734/raw/5a7f39d600fc20d7605d3c9e438257285700b32b/ssl_timeout.patch"
|
|
|
|
sha1 "d7242a07c0d4de1890bb8ebd51b55e01e859b302"
|
|
|
|
end
|
|
|
|
|
2010-04-10 19:13:10 +00:00
|
|
|
def install
|
2015-03-12 00:46:19 +00:00
|
|
|
libexec.install %w[getmail getmail_fetch getmail_maildir getmail_mbox]
|
2013-08-15 16:37:53 +00:00
|
|
|
bin.install_symlink Dir["#{libexec}/*"]
|
2014-05-23 18:57:40 +00:00
|
|
|
libexec.install "getmailcore"
|
|
|
|
man1.install Dir["docs/*.1"]
|
2010-04-10 19:13:10 +00:00
|
|
|
end
|
2015-03-12 00:46:19 +00:00
|
|
|
|
|
|
|
test do
|
|
|
|
system bin/"getmail", "--help"
|
|
|
|
end
|
2010-04-10 19:13:10 +00:00
|
|
|
end
|