aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/logcheck.rb
blob: 0db6ac42b483f51453db516e5781fd3e17f106dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
class Logcheck < Formula
  homepage "https://logcheck.alioth.debian.org/"
  url "http://ftp.de.debian.org/debian/pool/main/l/logcheck/logcheck_1.3.17.tar.xz"
  sha1 "adb54e75f8a17e3aff4abb3066122c0dfdde21e3"

  bottle do
    cellar :any
    sha1 "94773d87f8879d53bdcaa26853342d7a45af1da8" => :yosemite
    sha1 "88197b7fa15f6842a2fe3e07f38e825e7b02947e" => :mavericks
    sha1 "c2b5c09aae9987d2441ca205d74ce44439e912c0" => :mountain_lion
  end

  def install
    system "make", "install",
                   "--always-make",
                   "DESTDIR=#{prefix}",
                   "SBINDIR=sbin",
                   "BINDIR=bin"
  end

  test do
    system "#{sbin}/logtail", "-f", "#{HOMEBREW_REPOSITORY}/README.md"
  end
end