From 06b5f79a2b896cf085b5cb1ce7932e7350cbfb18 Mon Sep 17 00:00:00 2001 From: denji Date: Wed, 13 Nov 2013 05:59:05 +0200 Subject: rats 2.3 Closes #24240. Signed-off-by: Adam Vandenberg --- Library/Formula/rats.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Library/Formula/rats.rb (limited to 'Library/Formula') diff --git a/Library/Formula/rats.rb b/Library/Formula/rats.rb new file mode 100644 index 000000000..a50cf7098 --- /dev/null +++ b/Library/Formula/rats.rb @@ -0,0 +1,18 @@ +require 'formula' + +class Rats < Formula + homepage 'https://security.web.cern.ch/security/recommendations/en/codetools/rats.shtml' + url 'https://rough-auditing-tool-for-security.googlecode.com/files/rats-2.3.tar.gz' + sha1 '02283f2a5f0482f09c7e33d2aa84d68c48a8ec5a' + + def install + system "./configure", "--prefix=#{prefix}", + "--mandir=#{man}", + "--infodir=#{info}" + system "make install" + end + + test do + system "#{bin}/rats" + end +end -- cgit v1.2.3