2012-05-08 16:08:23 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Logcheck < Formula
|
|
|
|
homepage 'http://logcheck.org/'
|
2012-09-04 01:28:46 +00:00
|
|
|
url 'http://ftp.de.debian.org/debian/pool/main/l/logcheck/logcheck_1.3.15.tar.gz'
|
|
|
|
sha1 'c1fef9d602f208e5cae64d39900834c216568fb0'
|
2012-05-08 16:08:23 +00:00
|
|
|
|
|
|
|
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
|