homebrew-core/Formula/tin.rb
BrewTestBot 95884bae22 Formula files style updates.
Closes Homebrew/homebrew#42407.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 14:21:42 +01:00

33 lines
1.1 KiB
Ruby

class Tin < Formula
desc "Threaded, NNTP-, and spool-based UseNet newsreader"
homepage "http://www.tin.org"
url "http://ftp.cuhk.edu.hk/pub/packages/news/tin/v2.2/tin-2.2.1.tar.gz"
sha256 "cf588884bbe4711498b807311e53d82a1b6ca343f4c85e53001c90e8c0e456ac"
bottle do
sha1 "64bb6a1947bf0d5daf81d6dd1a964a555e5c618b" => :yosemite
sha1 "960642645d2022d2f5568af56518b1d4633be1d0" => :mavericks
sha1 "4ae3d6485d114bab7e0ff293bd11939e5fd76d12" => :mountain_lion
end
devel do
url "http://ftp.cuhk.edu.hk/pub/packages/news/tin/v2.3/tin-2.3.1.tar.gz"
sha256 "d53ee03850988c96162f2a30a24f63a6976612f04fc049fd1e0c17d0d4567083"
end
conflicts_with "mutt", :because => "both install mmdf.5 and mbox.5 man pages"
def install
ENV.enable_warnings
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}"
system "make", "build"
system "make", "install"
end
test do
system "#{bin}/tin", "-H"
end
end