homebrew-core/Formula/fwknop.rb

26 lines
650 B
Ruby
Raw Normal View History

require 'formula'
class Fwknop < Formula
homepage 'http://www.cipherdyne.org/fwknop/'
2013-11-21 05:29:34 +00:00
head 'https://github.com/mrash/fwknop.git'
url 'https://github.com/mrash/fwknop/archive/2.6.2.tar.gz'
sha1 '3e518d3db0831061b027475869c77a7ff304219e'
2014-06-01 01:39:25 +00:00
depends_on "automake" => :build
depends_on "autoconf" => :build
depends_on "libtool" => :build
depends_on "gpgme"
def install
2014-06-01 01:39:25 +00:00
system "./autogen.sh"
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--with-gpgme"
system "make install"
end
test do
system "#{bin}/fwknop", "--version"
end
end