ad37465925
gpgme was made a required dependency and the support is compiled in by default. Closes Homebrew/homebrew#25862. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
26 lines
663 B
Ruby
26 lines
663 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.6.0.tar.gz'
|
|
sha1 '8e55413823f57e362a8f732da60da6c3c6240a6c'
|
|
|
|
depends_on :automake
|
|
depends_on :autoconf
|
|
depends_on :libtool
|
|
|
|
depends_on 'gpgme'
|
|
|
|
def install
|
|
system './autogen.sh' if build.head? or !File.exist?('configure')
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--with-gpgme"
|
|
system "make install"
|
|
end
|
|
|
|
def test
|
|
system "#{bin}/fwknop", "--version"
|
|
end
|
|
end
|