homebrew-core/Formula/silc-client.rb
Ted Pennings 4cd0935be7 Convert all 'def test' formulae to 'test do'
Closes Homebrew/homebrew#26942.
Closes Homebrew/homebrew#26946.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-02-24 19:54:02 -08:00

28 lines
815 B
Ruby

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
test do
system "#{bin}/silc", "-v"
end
end