homebrew-core/Formula/oath-toolkit.rb
2015-06-05 14:47:57 +01:00

18 lines
606 B
Ruby

require 'formula'
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.4.1.tar.gz'
mirror 'http://download-mirror.savannah.gnu.org/releases/oath-toolkit/oath-toolkit-2.4.1.tar.gz'
sha1 'b0ca4c5f89c12c550f7227123c2f21f45b2bf969'
depends_on 'pkg-config' => :build
depends_on 'libxmlsec1'
def install
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make"
system "make install"
end
end