require 'formula' class OathToolkit < Formula homepage 'http://www.nongnu.org/oath-toolkit/' url 'http://download.savannah.gnu.org/releases/oath-toolkit/oath-toolkit-2.0.0.tar.gz' mirror 'http://download-mirror.savannah.gnu.org/releases/oath-toolkit/oath-toolkit-2.0.0.tar.gz' sha1 'cf215290d94a41d5850b2938a97d29a029477eae' depends_on 'pkg-config' => :build def install system "./configure", "--prefix=#{prefix}" system "make" system "make install" end end