2012-05-08 16:08:23 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Logcheck < Formula
|
2013-11-30 11:08:00 +00:00
|
|
|
homepage 'http://logcheck.alioth.debian.org/'
|
2014-02-02 00:57:36 +00:00
|
|
|
url 'http://ftp.de.debian.org/debian/pool/main/l/logcheck/logcheck_1.3.16.tar.xz'
|
|
|
|
sha1 '27892a6abf3822d285efbb26f935d80762134679'
|
2012-05-08 16:08:23 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "make", "install",
|
|
|
|
"--always-make",
|
|
|
|
"DESTDIR=#{prefix}",
|
|
|
|
"SBINDIR=sbin",
|
|
|
|
"BINDIR=bin"
|
|
|
|
end
|
|
|
|
|
2014-02-23 21:31:41 +00:00
|
|
|
test do
|
2012-05-08 16:08:23 +00:00
|
|
|
system "#{sbin}/logtail", "-f", "#{HOMEBREW_REPOSITORY}/README.md"
|
|
|
|
end
|
|
|
|
end
|