23 lines
885 B
Ruby
23 lines
885 B
Ruby
class OathToolkit < Formula
|
|
desc "Tools for one-time password authentication systems"
|
|
homepage "http://www.nongnu.org/oath-toolkit/"
|
|
url "http://download.savannah.gnu.org/releases/oath-toolkit/oath-toolkit-2.6.1.tar.gz"
|
|
mirror "https://fossies.org/linux/privat/oath-toolkit-2.6.1.tar.gz"
|
|
sha256 "9c57831907bc26eadcdf90ba1827d0bd962dd1f737362e817a1dd6d6ec036f79"
|
|
|
|
bottle do
|
|
sha256 "e333157196ce196c998cc46e2dec0a73fd3b49969dda9262effb8a565b591f1b" => :yosemite
|
|
sha256 "e082a0eb2ffa11d107574d72197a22208e71bdfa9e8993187933bffb89b8b603" => :mavericks
|
|
sha256 "c22dd6aeadd6465d796957705595f4333072f1c6c6087de5131931c70467e9e7" => :mountain_lion
|
|
end
|
|
|
|
depends_on "pkg-config" => :build
|
|
depends_on "libxmlsec1"
|
|
|
|
def install
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
|
system "make"
|
|
system "make", "install"
|
|
end
|
|
end
|