aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorNeil2014-08-05 05:59:06 -0700
committerJack Nagel2014-08-09 11:46:57 -0500
commit082ac5ab7d6415ab434d2a62e6d5f85610a51f1f (patch)
tree0d684b9cf900d4e19ddc966d07029589d6ce5409 /Library
parent9b3d4eff9124495ffd9b09e839c91c1e8cb4b03d (diff)
downloadhomebrew-082ac5ab7d6415ab434d2a62e6d5f85610a51f1f.tar.bz2
imapsync 1.592
Closes #31325. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/imapsync.rb16
1 files changed, 14 insertions, 2 deletions
diff --git a/Library/Formula/imapsync.rb b/Library/Formula/imapsync.rb
index 67f1612c5..90de0eeb1 100644
--- a/Library/Formula/imapsync.rb
+++ b/Library/Formula/imapsync.rb
@@ -2,8 +2,8 @@ require "formula"
class Imapsync < Formula
homepage "http://ks.lamiral.info/imapsync/"
- url "https://fedorahosted.org/released/imapsync/imapsync-1.584.tgz"
- sha1 "c1de4558a2379416a9af4064e8922efab08e664d"
+ url "https://fedorahosted.org/released/imapsync/imapsync-1.592.tgz"
+ sha1 "f107917ee01ef46d97408226a083871a7d660d0b"
head "https://git.fedorahosted.org/git/imapsync.git"
@@ -25,6 +25,12 @@ class Imapsync < Formula
sha1 "91064a6ce7ccf0eb8ef498a2f3dc3d30e9406dfe"
end
+ resource "IO::Tee" do
+ url "http://search.cpan.org/CPAN/authors/id/K/KE/KENSHAN/IO-Tee-0.64.tar.gz"
+ mirror "http://search.mcpan.org/CPAN/authors/id/K/KE/KENSHAN/IO-Tee-0.64.tar.gz"
+ sha1 "29314311318e3e0bee01623a23eda4f1ba629b76"
+ end
+
def install
ENV.prepend_create_path 'PERL5LIB', libexec+'lib/perl5'
@@ -46,6 +52,12 @@ class Imapsync < Formula
system "make", "install"
end
+ resource("IO::Tee").stage do
+ system "perl", "Makefile.PL", "INSTALL_BASE=#{libexec}"
+ system "make"
+ system "make", "install"
+ end
+
system "perl", "-c", "imapsync"
system "pod2man", "imapsync", "imapsync.1"
bin.install "imapsync"