blob: 9665a3af9a1471608f7ae65b5f6c00ce88085961 (
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
|
require 'formula'
class SilcClient < Formula
homepage 'http://silcnet.org/software/users/client/'
url 'http://silcnet.org/download/client/sources/silc-client-1.1.8.tar.gz'
sha1 '51fd1f22dbc1ceb15c6fb1a034eb9a09b72ee708'
depends_on 'pkg-config' => :build
depends_on 'glib'
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
def test
system "#{bin}/silc", "-v"
end
end
|