2012-02-16 20:16:10 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class OathToolkit < Formula
|
|
|
|
homepage 'http://www.nongnu.org/oath-toolkit/'
|
2012-07-30 15:46:45 +00:00
|
|
|
url 'http://download.savannah.gnu.org/releases/oath-toolkit/oath-toolkit-1.12.0.tar.gz'
|
|
|
|
mirror 'http://download-mirror.savannah.gnu.org/releases/oath-toolkit/oath-toolkit-1.12.0.tar.gz'
|
|
|
|
sha1 'd839ed4748220fc77cc80743816b48cef1a75f5b'
|
2012-02-16 20:16:10 +00:00
|
|
|
|
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
|
|
|
|
def install
|
2012-08-28 14:33:09 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}"
|
2012-02-16 20:16:10 +00:00
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|