diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/logcheck.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/logcheck.rb b/Library/Formula/logcheck.rb new file mode 100644 index 000000000..52d2d3e08 --- /dev/null +++ b/Library/Formula/logcheck.rb @@ -0,0 +1,19 @@ +require 'formula' + +class Logcheck < Formula + homepage 'http://logcheck.org/' + url 'http://ftp.de.debian.org/debian/pool/main/l/logcheck/logcheck_1.3.14.tar.gz' + md5 'cbd32dbdcb877f267636205f33ede790' + + def install + system "make", "install", + "--always-make", + "DESTDIR=#{prefix}", + "SBINDIR=sbin", + "BINDIR=bin" + end + + def test + system "#{sbin}/logtail", "-f", "#{HOMEBREW_REPOSITORY}/README.md" + end +end |
