blob: 24be388abc380d734cf6a7d632bfb0367f3791ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
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.3.tar.gz"
sha1 "ea83821d082e640bc70438f00578d3c049d4de8a"
bottle do
sha1 "a8f0c47a80109c15bbdbee4c6b768a5970d87786" => :mavericks
sha1 "28c45793806d7cdd6bdce5001a44645ce3c258b8" => :mountain_lion
sha1 "c963e977da7c1171b56b9e5dce523b7ddbc42b35" => :lion
end
depends_on "automake" => :build
depends_on "autoconf" => :build
depends_on "libtool" => :build
depends_on "gpgme"
def install
system "./autogen.sh"
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--with-gpgme"
system "make install"
end
test do
system "#{bin}/fwknop", "--version"
end
end
|