2012-01-31 18:15:14 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Fwknop < Formula
|
|
|
|
homepage 'http://www.cipherdyne.org/fwknop/'
|
2013-08-17 23:49:25 +00:00
|
|
|
url 'http://www.cipherdyne.org/fwknop/download/fwknop-2.5.1.tar.bz2'
|
|
|
|
sha1 '65bed25e9d7f4a7ccc3f15cab35b95a6f7b21873'
|
2012-01-31 18:15:14 +00:00
|
|
|
|
2013-05-07 02:34:13 +00:00
|
|
|
# needed for gpg support
|
|
|
|
depends_on 'gpgme' => :optional
|
|
|
|
|
2012-01-31 18:15:14 +00:00
|
|
|
def install
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
|
|
|
|
def test
|
2012-05-15 21:36:45 +00:00
|
|
|
system "#{bin}/fwknop", "--version"
|
2012-01-31 18:15:14 +00:00
|
|
|
end
|
|
|
|
end
|