2011-09-02 00:23:23 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Rsyslog < Formula
|
|
|
|
url 'http://rsyslog.com/files/download/rsyslog/rsyslog-5.8.0.tar.gz'
|
|
|
|
homepage 'http://www.rsyslog.com'
|
|
|
|
md5 '37562d0e71a24938a9ed7f242bd32d35'
|
|
|
|
|
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
|
2012-08-12 17:59:31 +00:00
|
|
|
option :universal
|
2011-09-02 00:23:23 +00:00
|
|
|
|
|
|
|
def install
|
2012-08-12 17:59:31 +00:00
|
|
|
ENV.universal_binary if build.universal?
|
2011-12-09 23:59:14 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
2011-09-02 00:23:23 +00:00
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|