homebrew-core/Formula/fwknop.rb
Tim Heckman a0962f71ae fwknop: change version to 2.5.1.1
Closes Homebrew/homebrew#24792.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-11-29 22:59:25 -08:00

25 lines
637 B
Ruby

require 'formula'
class Fwknop < Formula
homepage 'http://www.cipherdyne.org/fwknop/'
head 'https://github.com/mrash/fwknop.git'
url 'https://github.com/mrash/fwknop/archive/2.5.1.1.tar.gz'
sha1 '47adc5734dfc84f9ab6e2ba8a5097132519cab8a'
depends_on :automake
depends_on :autoconf
depends_on :libtool
depends_on 'gpgme' => :optional
def install
system './autogen.sh' if build.head? or !File.exists?('configure')
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
def test
system "#{bin}/fwknop", "--version"
end
end