aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorBaptiste Fontaine2015-02-28 23:58:44 +0100
committerMike McQuaid2015-03-02 07:51:54 +0000
commitd98ed01ba53d43a98b80870215e9de1781675e54 (patch)
treece187c15998595b89b0892f562b4d89df0907342 /Library/Formula
parentb0737c2e33d0c877a92cc96b7feb5cfc5395d098 (diff)
downloadhomebrew-d98ed01ba53d43a98b80870215e9de1781675e54.tar.bz2
tin 2.2.1
Closes #37282. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/tin.rb30
1 files changed, 19 insertions, 11 deletions
diff --git a/Library/Formula/tin.rb b/Library/Formula/tin.rb
index e33089bf5..9a1283b80 100644
--- a/Library/Formula/tin.rb
+++ b/Library/Formula/tin.rb
@@ -1,18 +1,26 @@
-require 'formula'
-
class Tin < Formula
- homepage 'http://www.tin.org'
- url 'ftp://ftp.tin.org/pub/news/clients/tin/v2.2/tin-2.2.0.tar.gz'
- sha1 '91293a529ae454f0506fc756325b4cfb9c5c235d'
+ homepage "http://www.tin.org"
+ url "http://ftp.cuhk.edu.hk/pub/packages/news/tin/v2.2/tin-2.2.1.tar.gz"
+ sha1 "9ef12345ed1cfb482138c5c54a7f73dfb91b9039"
+
+ devel do
+ url "http://ftp.cuhk.edu.hk/pub/packages/news/tin/v2.3/tin-2.3.1.tar.gz"
+ sha1 "bee82da1e349a6a3954ab63d82a193e510aa1ff9"
+ end
- conflicts_with 'mutt',
- :because => 'both install mmdf.5 and mbox.5 man pages'
+ 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"
+ 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