homebrew-core/Formula/rsyslog.rb
nibbles 2bits a06db9cb5b rsyslog 5.10.1
- Upgrade to rsyslog 5.10.1
- It's old, but newer ones, v6.x or 7.x, require linux & sysinfo.h
- Add an explicit dep on pkg-config
- Works with superenv

Closes Homebrew/homebrew#15719.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-10-28 12:33:36 -07:00

18 lines
483 B
Ruby

require 'formula'
class Rsyslog < Formula
homepage 'http://www.rsyslog.com'
url 'http://www.rsyslog.com/files/download/rsyslog/rsyslog-5.10.1.tar.gz'
sha256 '2f643a2c613d5b09f242affd32a90cf4fb7a9ac4557dc80f218e6f3e5affb4c8'
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