diff options
| author | denji | 2013-11-13 05:59:05 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2013-11-14 07:03:52 -0800 |
| commit | 06b5f79a2b896cf085b5cb1ce7932e7350cbfb18 (patch) | |
| tree | 78d523fc045cad4b182698d1b9d5bcdde2ec1131 | |
| parent | 16ac095cb7fa14614b6ef6852981f56d89401c0e (diff) | |
| download | homebrew-06b5f79a2b896cf085b5cb1ce7932e7350cbfb18.tar.bz2 | |
rats 2.3
Closes #24240.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -rw-r--r-- | Library/Formula/rats.rb | 18 |
1 files changed, 18 insertions, 0 deletions
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 |
