blob: 15ea916862aae67ba02c7b0dce6dbf364cbfa89c (
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
32
33
|
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.4.tar.gz"
sha1 "b13ef022ade7da6dc5b08335d5a1d29dd898887b"
revision 1
bottle do
sha1 "f82b7596356044e1b6b0c41ede54bfcc11b3585a" => :yosemite
sha1 "6488990ef06c578ab92c6fb74dd0b3af24e5c934" => :mavericks
sha1 "20fc1fc8b38e1e24d33f1d7197aa1dae5dbc9d70" => :mountain_lion
end
depends_on "automake" => :build
depends_on "autoconf" => :build
depends_on "libtool" => :build
depends_on "wget" => :optional
depends_on "gpgme"
def install
system "./autogen.sh"
system "./configure", "--disable-dependency-tracking", "--disable-silent-rules",
"--prefix=#{prefix}", "--with-gpgme",
"--with-gpg=#{Formula["gnupg2"].opt_prefix}/bin/gpg2"
system "make", "install"
end
test do
system "#{bin}/fwknop", "--version"
end
end
|