PageRenderTime 44ms CodeModel.GetById 22ms RepoModel.GetById 0ms app.codeStats 0ms

/Formula/isync.rb

https://gitlab.com/0072016/homebrew-core
Ruby | 34 lines | 28 code | 6 blank | 0 comment | 1 complexity | b6bbf442cb1c972a9738b34a5dc53b7b MD5 | raw file
  1. class Isync < Formula
  2. desc "Synchronize a maildir with an IMAP server"
  3. homepage "http://isync.sourceforge.net/"
  4. url "https://downloads.sourceforge.net/project/isync/isync/1.2.1/isync-1.2.1.tar.gz"
  5. sha256 "e716de28c9a08e624a035caae3902fcf3b511553be5d61517a133e03aa3532ae"
  6. bottle do
  7. cellar :any
  8. sha256 "b236f25f8fb6f2285fb6775deba1e61b89df904fc2fc933f2546bb69d0bb9ec6" => :el_capitan
  9. sha256 "a4406974110a2f4ea3aaa81f0232c00f8aa9b572fab8709f1e16c7dc2d6ab6f6" => :yosemite
  10. sha256 "3be99741095c146ef4bf44732cf3850aa62bf23a8676d6289bb11b988ac328fd" => :mavericks
  11. end
  12. head do
  13. url "git://git.code.sf.net/p/isync/isync"
  14. depends_on "autoconf" => :build
  15. depends_on "automake" => :build
  16. end
  17. depends_on "berkeley-db"
  18. depends_on "openssl"
  19. def install
  20. system "./autogen.sh" if build.head?
  21. system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}",
  22. "--disable-silent-rules"
  23. system "make", "install"
  24. end
  25. test do
  26. system bin/"get-cert", "duckduckgo.com:443"
  27. end
  28. end