imapsync 1.592

Closes Homebrew/homebrew#31325.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
master
Neil 2014-08-05 05:59:06 -07:00 committed by Jack Nagel
parent 97f3f02300
commit 43a7fda2cf
1 changed files with 14 additions and 2 deletions

View File

@ -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"