blob: bbe4fd7e5f69eefcbdceffe0db871a34bb7907f0 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
 | require "formula"
class SilcClient < Formula
  homepage "http://silcnet.org/client.html"
  url "https://downloads.sourceforge.net/project/silc/silc/client/sources/silc-client-1.1.11.tar.gz"
  sha256 "8cedf2f3c15322296afe094de60504bc27e349f1942713a2f322c7ef6ad5089e"
  bottle do
    sha1 "3222c80d0b58f752bab07c29679dc0585d43d067" => :yosemite
    sha1 "32093a6a21e593f2f5300b5cd933de720b76768f" => :mavericks
    sha1 "b62f58cf75a826116df89a50015c20806c186d33" => :mountain_lion
  end
  revision 1
  depends_on "pkg-config" => :build
  depends_on "glib"
  depends_on "openssl"
  def install
    system "./configure", "--disable-debug",
                          "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--sysconfdir=#{etc}",
                          "--with-perl=no",
                          "--enable-ssl",
                          "--enable-ipv6",
                          "--with-socks",
                          "--disable-asm"
    system "make"
    system "make", "install"
  end
  test do
    system "#{bin}/silc", "-v"
  end
end
 |