24 lines
886 B
Ruby
24 lines
886 B
Ruby
class Getmail < Formula
|
|
desc "Extensible mail retrieval system with POP3, IMAP4, SSL support"
|
|
homepage "http://pyropus.ca/software/getmail/"
|
|
url "http://pyropus.ca/software/getmail/old-versions/getmail-5.4.tar.gz"
|
|
sha256 "ba896f7b3fbae4e9e79f7135e6c2b10b281170d2877b91fb2b265c927ed29ac7"
|
|
|
|
bottle do
|
|
cellar :any_skip_relocation
|
|
sha256 "f0b2f0b2b099e8e7c0f78b4c5c8dbb9aa9d55631de470e4b484490a749d41eb5" => :high_sierra
|
|
sha256 "f0b2f0b2b099e8e7c0f78b4c5c8dbb9aa9d55631de470e4b484490a749d41eb5" => :sierra
|
|
sha256 "f0b2f0b2b099e8e7c0f78b4c5c8dbb9aa9d55631de470e4b484490a749d41eb5" => :el_capitan
|
|
end
|
|
|
|
def install
|
|
libexec.install %w[getmail getmail_fetch getmail_maildir getmail_mbox]
|
|
bin.install_symlink Dir["#{libexec}/*"]
|
|
libexec.install "getmailcore"
|
|
man1.install Dir["docs/*.1"]
|
|
end
|
|
|
|
test do
|
|
system bin/"getmail", "--help"
|
|
end
|
|
end
|