aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/rsyslog.rb
blob: ec72ad420b0df7edbc961e9a2d5ef9d48ba4ce04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'formula'

class Rsyslog < Formula
  url 'http://rsyslog.com/files/download/rsyslog/rsyslog-5.8.0.tar.gz'
  homepage 'http://www.rsyslog.com'
  sha1 '5a64f0ca8b6d5b32db1c20d46965803a2d8d047a'

  depends_on 'pkg-config' => :build

  option :universal

  def install
    ENV.universal_binary if build.universal?
    system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
    system "make"
    system "make install"
  end
end